summary refs log tree commit diff
path: root/include/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index 6e3a8763b3..bbf03f0692 100644
--- a/include/features.h
+++ b/include/features.h
@@ -196,6 +196,8 @@
 #  define _LARGEFILE_SOURCE	1
 #  if (_XOPEN_SOURCE - 0) >= 600
 #   define __USE_XOPEN2K	1
+#   undef __USE_ISOC99
+#   define __USE_ISOC99		1
 #  endif
 # else
 #  ifdef _XOPEN_SOURCE_EXTENDED
@@ -240,6 +242,9 @@
 #define __STDC_IEC_559__		1
 #define __STDC_IEC_559_COMPLEX__	1
 
+/* wchar_t uses Unicode 3.0.  */
+#define __STDC_ISO_10646__		200001L
+
 /* This macro indicates that the installed library is the GNU C Library.
    For historic reasons the value now is 6 and this will stay from now
    on.  The use of this variable is deprecated.  Use __GLIBC__ and