POSIX_C_SOURCE
M. Warner Losh
imp at bsdimp.com
Sun Aug 31 10:36:06 PDT 2003
In message: <20030830171343.GA33800 at falcon.midgard.homeip.net>
Erik Trulsson <ertr1013 at student.uu.se> writes:
: /* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. */
: #if _POSIX_C_SOURCE == 1
: #undef _POSIX_C_SOURCE /* Probably illegal, but beyond caring now. */
: @@ -280,6 +282,8 @@
: #undef _POSIX_C_SOURCE
: #define _POSIX_C_SOURCE 199209
: #endif
That's 100% legal and should *NOT* produce a warning. Garrett is
right.
Warner
More information about the freebsd-stable
mailing list