mirror of https://github.com/mkerrisk/man-pages
feature_test_macros.7: From glibc 2.19, _BSD_SOURCE no longer causes __FAVOR_BSD
Starting with glibc 2.19, _BSD_SOURCE no longer causes BSD definitions to be favored in cases where standards conflict. Reviewed-by: Joseph S. Myers <joseph@codesourcery.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b60327309b
commit
0385c88eda
|
@ -22,7 +22,7 @@
|
|||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\" %%%LICENSE_END
|
||||
.\"
|
||||
.TH FEATURE_TEST_MACROS 7 2013-09-20 "Linux" "Linux Programmer's Manual"
|
||||
.TH FEATURE_TEST_MACROS 7 2014-01-06 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
feature_test_macros \- feature test macros
|
||||
.SH SYNOPSIS
|
||||
|
@ -260,7 +260,8 @@ and on those systems this macro has no effect.
|
|||
.B _BSD_SOURCE
|
||||
Defining this macro with any value causes header files to expose
|
||||
BSD-derived definitions.
|
||||
Defining this macro also causes BSD definitions to be preferred in
|
||||
In glibc versions up to and including 2.18,
|
||||
defining this macro also causes BSD definitions to be preferred in
|
||||
some situations where standards conflict, unless one or more of
|
||||
.BR _SVID_SOURCE ,
|
||||
.BR _POSIX_SOURCE ,
|
||||
|
@ -270,6 +271,9 @@ some situations where standards conflict, unless one or more of
|
|||
or
|
||||
.B _GNU_SOURCE
|
||||
is defined, in which case BSD definitions are disfavored.
|
||||
Since glibc 2.19,
|
||||
.B _BSD_SOURCE
|
||||
no longer causes BSD definitions to be preferred in case of conflicts.
|
||||
.TP
|
||||
.B _SVID_SOURCE
|
||||
Defining this macro with any value causes header files to expose
|
||||
|
|
Loading…
Reference in New Issue