aboutsummaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-15 11:03:44 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-15 11:03:44 -0800
commit635bc2a20f0070a8d30bc9a49598c3e2726a33b5 (patch)
tree845811f5b6df0876cbe7172a9bfd62420e1f0153 /include/features.h
parent7760ccced8883571bc00b42ed29384381d1413a5 (diff)
downloadglibc-635bc2a20f0070a8d30bc9a49598c3e2726a33b5.zip
glibc-635bc2a20f0070a8d30bc9a49598c3e2726a33b5.tar.gz
glibc-635bc2a20f0070a8d30bc9a49598c3e2726a33b5.tar.bz2
Fix _XOPEN_SOURCE_EXTENDED handling.
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/features.h b/include/features.h
index e7c8da1..887e410 100644
--- a/include/features.h
+++ b/include/features.h
@@ -146,8 +146,7 @@
/* If _BSD_SOURCE was defined by the user, favor BSD over POSIX. */
#if defined _BSD_SOURCE && \
!(defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || \
- defined _XOPEN_SOURCE || defined _XOPEN_SOURCE_EXTENDED || \
- defined _GNU_SOURCE || defined _SVID_SOURCE)
+ defined _XOPEN_SOURCE || defined _GNU_SOURCE || defined _SVID_SOURCE)
# define __FAVOR_BSD 1
#endif
@@ -179,8 +178,7 @@
define _BSD_SOURCE and _SVID_SOURCE. */
#if (!defined __STRICT_ANSI__ && !defined _ISOC99_SOURCE && \
!defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE && \
- !defined _XOPEN_SOURCE && !defined _XOPEN_SOURCE_EXTENDED && \
- !defined _BSD_SOURCE && !defined _SVID_SOURCE)
+ !defined _XOPEN_SOURCE && !defined _BSD_SOURCE && !defined _SVID_SOURCE)
# define _BSD_SOURCE 1
# define _SVID_SOURCE 1
#endif