mirror of https://github.com/mkerrisk/man-pages
feature_test_macros.7: Clarify some _ISOC99_SOURCE / _DEFAULT_SOURCE details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e9d91bcf4c
commit
f04d68ba16
|
@ -221,9 +221,11 @@ definitions for POSIX.1c (threads).
|
|||
.IP \(bu
|
||||
(Since glibc 2.3.3)
|
||||
The value 200112L or greater additionally exposes definitions corresponding
|
||||
to the POSIX.1-2001 base specification (excluding the XSI extension)
|
||||
and also causes C95 (since glibc 2.12) and
|
||||
C99 (since glibc 2.10) features to be exposed.
|
||||
to the POSIX.1-2001 base specification (excluding the XSI extension).
|
||||
This value also causes C95 (since glibc 2.12) and
|
||||
C99 (since glibc 2.10) features to be exposed
|
||||
(in other words, the equivalent of defining
|
||||
.BR _ISOC99_SOURCE ).
|
||||
.IP \(bu
|
||||
(Since glibc 2.10)
|
||||
The value 200809L or greater additionally exposes definitions corresponding
|
||||
|
@ -458,8 +460,8 @@ Defining
|
|||
without defining other individual macros
|
||||
or invoking the compiler in one of its "standard" modes has no effect.
|
||||
|
||||
The "default" definitions comprise those required by POSIX.1-2008
|
||||
as well as various definitions derived from BSD and System V.
|
||||
The "default" definitions comprise those required by POSIX.1-2008 and ISO C99,
|
||||
as well as various definitions originally derived from BSD and System V.
|
||||
On glibc 2.19 and earlier, these defaults were approximately equivalent
|
||||
to explicitly defining the following:
|
||||
|
||||
|
|
Loading…
Reference in New Issue