Subject: Re: CVS commit: src/tools/compat
To: Alan Barrett <apb@cequrux.com>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 10/18/2007 09:05:53
On Oct 18,  9:45am, apb@cequrux.com (Alan Barrett) wrote:
-- Subject: Re: CVS commit: src/tools/compat

| On Thu, 18 Oct 2007, Christos Zoulas wrote:
| > 	src/tools/compat: compat_defs.h
| > 
| > Log Message:
| > - define the NetBSD options before including any files
| > - add the _NETBSD_TOOLS define to make more symbols visible
| > - user_from_uid and group_from_gid are renamed only if we don't have them
| 
| This comment is no longer accurate:
| 
| /*
|  * Linux: <features.h> turns on _POSIX_SOURCE by default, even though the
|  * program (not the OS) should do that.  Preload <features.h> to keep any
|  * of this crap from being pulled in, and undefine _POSIX_SOURCE.
|  */
| 
| ... because the #undef _POSIX_SOURCE is now before instead of after
| the #include <features.h>.

Then perhaps I broke it and I should move it back?

christos