Subject: Re: Solaris like __EXTENSIONS__ ?
To: None <tech-userlevel@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 04/21/2003 12:36:49
> That's because it's in <sys/types.h>, which no ANSI C program will
> ever include, so there's no need to protect ANSI C programs from it.
Will ever include _directly_. Are you certain none of the
ANSI-specified headers end up pulling it in? For example, it looks as
though <stdlib.h> will unless you have _ANSI_SOURCE, _POSIX_C_SOURCE,
or _XOPEN_SOURCE defined - does -ansi define _ANSI_SOURCE?
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B