Skip to contentSkip to conversation

feature_test_macros.7: Update list of macros that inhibit default definitions

PATCH In review Jakub Wilk 2 participants 2 messages Oct 1, 2020 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

Jakub Wilk

author
#0 lore raw

PATCH 1/1 feature_test_macros.7: Update list of macros that inhibit default definitions

---
 man7/feature_test_macros.7 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
man7/feature_test_macros.7 +4 -1
index 8c80b087e..2d7bcacfc 100644
@@ -672,10 +672,13 @@ and
 If any of
 .BR __STRICT_ANSI__ ,
 .BR _ISOC99_SOURCE ,
+.BR _ISOC11_SOURCE
+(since glibc 2.18),
 .BR _POSIX_SOURCE ,
 .BR _POSIX_C_SOURCE  ,
 .BR _XOPEN_SOURCE ,
-.BR _XOPEN_SOURCE_EXTENDED ,
+.BR _XOPEN_SOURCE_EXTENDED
+(in glibc 2.11 and earlier),
 .BR _BSD_SOURCE
 (in glibc 2.19 and earlier),
 or
Signature · 1 line
2.28.0
#1 lore raw
Quoted 4 lines · Jakub Wilk
---
 man7/feature_test_macros.7 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Thanks, Jakub. patch applied.

Cheers,

Michael

Quoted 20 lines
man7/feature_test_macros.7 +4 -1
index 8c80b087e..2d7bcacfc 100644
@@ -672,10 +672,13 @@ and
 If any of
 .BR __STRICT_ANSI__ ,
 .BR _ISOC99_SOURCE ,
+.BR _ISOC11_SOURCE
+(since glibc 2.18),
 .BR _POSIX_SOURCE ,
 .BR _POSIX_C_SOURCE  ,
 .BR _XOPEN_SOURCE ,
-.BR _XOPEN_SOURCE_EXTENDED ,
+.BR _XOPEN_SOURCE_EXTENDED
+(in glibc 2.11 and earlier),
 .BR _BSD_SOURCE
 (in glibc 2.19 and earlier),
 or
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/