diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-01-06 10:22:52 +1300 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-01-08 12:14:04 +1300 |
| commit | 0385c88eda6a369a3444c541494a457c83cdbe58 (patch) | |
| tree | 3b29cd48e41dcbc0f42acc5c5d6b7441cbe55726 /man7 | |
| parent | b60327309be502bba83b4906fd6cc043bdd96bc1 (diff) | |
| download | man-pages-0385c88eda6a369a3444c541494a457c83cdbe58.tar.gz | |
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>
Diffstat (limited to 'man7')
| -rw-r--r-- | man7/feature_test_macros.7 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7 index 9a21d0d576..02d6cef49e 100644 --- a/man7/feature_test_macros.7 +++ b/man7/feature_test_macros.7 @@ -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 |
