lkml.org 
[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: getting include-files from arch/<arch>/subdir
From
Date
"Heusden, Folkert van" <f.v.heusden@ftr.nl> writes:

> 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.

Umm. Then the include file should probably rest under the include hierarchy.
Say: #include<asm/i386/etc.h>

That make it clear the code is exported to someone else...
Going down into the arch tree looks ugly.

Eric
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.021 / U:15.104 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site