OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e38f0
)
Only define __STDC_ISO_10646__ if wide char support is enabled.
author
Manuel Novoa III
<mjn3@codepoet.org>
Wed, 3 Sep 2003 03:23:31 +0000
(
03:23
-0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Wed, 3 Sep 2003 03:23:31 +0000
(
03:23
-0000)
include/features.h
patch
|
blob
|
history
diff --git
a/include/features.h
b/include/features.h
index
b378d31
..
1e2d76a
100644
(file)
--- 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