Subject: Re: CVS commit: src/tools/compat
To: Christos Zoulas <christos@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: source-changes
Date: 10/18/2007 09:45:47
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>.

--apb (Alan Barrett)