[klibc] [PATCH] gen_init_cpio processes file from a file list

H. Peter Anvin hpa at zytor.com
Thu Sep 16 15:56:03 PDT 2004


Sam Ravnborg wrote:
>>@@ -1,3 +1,4 @@
>>+#define _GNU_SOURCE
>> #include <stdio.h>
> 
> 
> In general the executables in the kernel shall be able to compile on 
> solaris, cygwin and Linux.
> 
> Will usage of _GNU_SOURCE prevent this?
> 
> I do not have cygwin on my Windoze box, and no Solaris around.
> 

On Solaris, _GNU_SOURCE is a NOOP; on Cygwin or Linux it is really 
_ALL_SOURCE.  Solaris might need _XOPEN_SOURCE or something; but that's for 
someone else to determine.

	-hpa



More information about the klibc mailing list