Date: Tue, 1 Apr 1997 07:10:14 +1000 (EST) From: John Birrell <jb@cimlogic.com.au> To: bde@zeta.org.au (Bruce Evans) Cc: peter@freefall.freebsd.org, peter@spinner.dialix.com, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-include@freefall.freebsd.org Subject: Re: cvs commit: src/include unistd.h Message-ID: <199703312110.HAA09273@freebsd1.cimlogic.com.au> In-Reply-To: <199703311510.BAA12303@godzilla.zeta.org.au> from Bruce Evans at "Apr 1, 97 01:10:13 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote: > glibc is more careful about this. It declares getopt stuff if > __USE_POSIX2 is defined. __USE_POSIX2 is defined if > > defined _POSIX_C_SOURCE >= 2 || defined _XOPEN_SOURCE > This doesn't comply with POSIX 1003.1b (and I assume .c). For POSIX 1003.1b, the _POSIX_C_SOURCE feature test is supposed to be compared against 199309L. And for 1003.1c, I guess that it is supposed to be 1996XXL where XX is the month that the update was (finally) published. And _POSIX_SOURCE still has to be tested for POSIX 1003.1[a]. -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org; jb@freebsd.org CIMlogic Pty Ltd, 119 Cecil Street, South Melbourne Vic 3205, Australia Tel +61 3 9690 6900 Fax +61 3 9690 6650 Mob +61 418 353 137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703312110.HAA09273>