summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-09-03 03:23:31 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-09-03 03:23:31 +0000
commit2b525c3b4f713a390931a46016a164c691b173e0 (patch)
tree0a15f8b0696648f2323575b0b02954ee64d0692d /include
parent44e38f00010af9c57cab6cae69d35b69dce2376c (diff)
Only define __STDC_ISO_10646__ if wide char support is enabled.
Diffstat (limited to 'include')
-rw-r--r--include/features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index b378d3161..1e2d76a05 100644
--- a/include/features.h
+++ b/include/features.h
@@ -246,8 +246,10 @@
#define __STDC_IEC_559__ 1
#define __STDC_IEC_559_COMPLEX__ 1
+#ifdef __UCLIBC_HAS_WCHAR__
/* wchar_t uses ISO 10646-1 (2nd ed., published 2000-09-15) / Unicode 3.0. */
#define __STDC_ISO_10646__ 200009L
+#endif
/* This macro indicates that the installed library is uClibc. Use
* __UCLIBC_MAJOR__ and __UCLIBC_MINOR__ to test for the features in