Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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>.

--apb (Alan Barrett)



Home | Main Index | Thread Index | Old Index