mirror of https://github.com/mkerrisk/man-pages
feature_test_macros.7: _GNU_SOURCE implicitly defines other macros
Saying that _GNU_SOURCE has the "effects of" other macros is not quite precise. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b694081ac3
commit
08d695652c
|
@ -371,7 +371,7 @@ Since glibc 2.10, this macro is also implicitly defined if
|
|||
is defined with a value greater than or equal to 200809L.
|
||||
.TP
|
||||
.B _GNU_SOURCE
|
||||
Defining this macro (with any value) is equivalent to defining
|
||||
Defining this macro (with any value) implicitly defines
|
||||
.BR _ATFILE_SOURCE ,
|
||||
.BR _LARGEFILE64_SOURCE ,
|
||||
.BR _ISOC99_SOURCE ,
|
||||
|
@ -391,11 +391,11 @@ In addition, various GNU-specific extensions are also exposed.
|
|||
|
||||
Since glibc 2.19, defining
|
||||
.BR _GNU_SOURCE
|
||||
also has the effect of defining
|
||||
also has the effect of implicitly defining
|
||||
.BR _DEFAULT_SOURCE .
|
||||
In glibc versions before 2.20, defining
|
||||
.BR _GNU_SOURCE
|
||||
also had the effect of defining
|
||||
also had the effect of implicitly defining
|
||||
.BR _BSD_SOURCE
|
||||
and
|
||||
.BR _SVID_SOURCE .
|
||||
|
|
Loading…
Reference in New Issue