Messages in this thread | | | Date | Sun, 20 Jan 2002 17:29:26 +0100 (CET) | From | Adrian Bunk <> | Subject | Re: [PATCH] __linux__ and cross-compile |
| |
On Sun, 20 Jan 2002, David Woodhouse wrote:
>... > > But if yes please consider what the following parts of your patch change: > > -#ifndef __linux__ > > +#ifndef __KERNEL__ > > Well, if he hadn't explicitly mentioned that he made header files which > could be included by userspace use defined(__KERNEL__)||defined(__linux__) > then I'd understand what you meant. As it is, I don't. Please explain.
This is part of his patch to drivers/scsi/aic7xxx/aic7xxx.c
It's clear that code that is part of an "#ifndef __linux__" will never be included on any other OS than Linux. Is this also garuanteed for "#ifndef __KERNEL__"?
> dwmw2
cu Adrian
- 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/
| |