Messages in this thread | | | Date | Tue, 9 Sep 2003 23:16:36 +0200 | From | Sam Ravnborg <> | Subject | Re: [Patch] asm workarounds in generic header files |
| |
On Tue, Sep 09, 2003 at 01:33:51PM -0700, Linus Torvalds wrote: > > Then, have a config-time "set the right symbolic link" the same way we do > for "include/asm/", so that we can have a set of _clean_ > compiler-dependent abstractions.
I would prefer to have a compiler.h like this:
#if COMPILER=GCC-2.95 #include <compiler_gcc295.h #endif
#if COMPILER=INTEL #include <compiler_intel.h> #endif
Better one more indirection in a simple compiler.h file than another symlink. Symlinks should be used in rare cases only.
Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |