Date: Thu, 29 Nov 2001 13:01:33 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Mike Barcroft <mike@FreeBSD.ORG> Cc: standards@FreeBSD.ORG Subject: Re: cvs commit: src/include string.h Message-ID: <200111291801.fATI1Xu12840@khavrinen.lcs.mit.edu> In-Reply-To: <20011129041735.F15672@espresso.q9media.com> References: <200111281902.fASJ21x89181@freefall.freebsd.org> <3C05F40D.15370F5A@softweyr.com> <20011129041735.F15672@espresso.q9media.com>
index | next in thread | previous in thread | raw e-mail
<<On Thu, 29 Nov 2001 04:17:35 -0500, Mike Barcroft <mike@FreeBSD.ORG> said: > #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) > #if _POSIX_C_SOURCE >= 200111L /* XXX */ > ... > #endif > #endif Actually, it's pretty simple: #if __POSIX_VISIBLE >= xxxxxx ... #endif ...as shown in my header file megapatch from last January. (I still haven't gotten that machine up-to-current or I would have generated a new patch.) See the archives for details. Note that in my version I did not go to any effort to hide identifiers that POSIX says implementations are always allowed to define. BDE disagrees with this approach, and I don't feel particularly strongly about it one way or the other, until and unless it significantly impinges on the cleanliness of the implementation. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111291801.fATI1Xu12840>
