Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2003 11:35:43 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ertr1013@student.uu.se
Cc:        wollman@khavrinen.lcs.mit.edu
Subject:   Re: POSIX_C_SOURCE
Message-ID:  <20030831.113543.12223209.imp@bsdimp.com>
In-Reply-To: <20030830171343.GA33800@falcon.midgard.homeip.net>
References:  <20030830161813.GA28890@twisted.net> <200308301649.h7UGnF5H042361@khavrinen.lcs.mit.edu> <20030830171343.GA33800@falcon.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20030830171343.GA33800@falcon.midgard.homeip.net>
            Erik Trulsson <ertr1013@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030831.113543.12223209.imp>