Messages in this thread | | | From | "Heusden, Folkert van" <> | Subject | RE: getting include-files from arch/<arch>/subdir | Date | Tue, 24 Oct 2000 11:19:25 +0200 |
| |
Hi,
ADC> why not ADC> #include <arch/i386/etc.h> ADC> Amit
Since that is not cross-platform. I like a solution which does the #include transparantly for alpha/i386/etc.
"Heusden, Folkert van" wrote: > > I need to include (in a driver) a header-file from arch/<arch>/subdir. I > could, of course, > do something like #include "../../arch/i386/{etc}" with a couple of #ifdef's > to get things > working for each environment. I guess that's now the way to do it cleanly. > What would be _the_ way to do it? > > Thanks. > > Folkert van Heusden. > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |