lkml.org 
[lkml]   [2002]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.064 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site