aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-11 20:07:47 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-11 20:07:47 -0800
commite531ede5aff20b04937bd52763dd9294983dbfdd (patch)
treee136a18a6bf68142466a13e48f3e8a74d44be48c /include
parent37c8e46632ed9604e267db6fc0cc7c67669852fa (diff)
downloadglibc-e531ede5aff20b04937bd52763dd9294983dbfdd.zip
glibc-e531ede5aff20b04937bd52763dd9294983dbfdd.tar.gz
glibc-e531ede5aff20b04937bd52763dd9294983dbfdd.tar.bz2
Fix up wchar.h for XPG7.
Diffstat (limited to 'include')
-rw-r--r--include/features.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index 21822b6..e7c8da1 100644
--- a/include/features.h
+++ b/include/features.h
@@ -153,6 +153,8 @@
/* If _GNU_SOURCE was defined by the user, turn on all the other features. */
#ifdef _GNU_SOURCE
+# undef _ISOC95_SOURCE
+# define _ISOC95_SOURCE 1
# undef _ISOC99_SOURCE
# define _ISOC99_SOURCE 1
# undef _POSIX_SOURCE
@@ -233,6 +235,8 @@
#if (_POSIX_C_SOURCE - 0) >= 200112L
# define __USE_XOPEN2K 1
+# undef __USE_ISOC95
+# define __USE_ISOC95 1
# undef __USE_ISOC99
# define __USE_ISOC99 1
#endif
@@ -257,6 +261,8 @@
# endif
# define __USE_XOPEN2K 1
# define __USE_XOPEN2KXSI 1
+# undef __USE_ISOC95
+# define __USE_ISOC95 1
# undef __USE_ISOC99
# define __USE_ISOC99 1
# endif