lkml.org 
[lkml]   [1998]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Patch needed for mdutils
Date
From
>So instead of using the standard glibc mantra of "mixing glibc and
>kernel include files is a bad idea, and programs who need to do this
>aren't our problem," let me suggest a better way (tm).
>
>Let us fix the kernel header files with the appropriate #ifdef __KERNEL__
>statements so it is safe to mix glibc and kernel include files. This

We've discussed this several times already. Yes, this would be the ideal
situation, and Michael Chastain (among others) has volunteered to do the work.
Nothing has come of it yet, though, and so the "don't mix your headers" advice
is the best current practice.

>need the glibc folks to define some symbol (perhaps it exists already; I
>haven't done the research yet) which is always defined in glibc header
>files, whenever something fairly standard, like sys/types.h is
>included.

__GLIBC__ is defined by <features.h>, and implicitly by most other files.

p.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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