[uClibc-cvs] uClibc/include features.h,1.53,1.54

Manuel Novoa III mjn3 at uclibc.org
Wed Sep 3 03:23:35 UTC 2003


Update of /var/cvs/uClibc/include
In directory winder:/tmp/cvs-serv2677

Modified Files:
	features.h 
Log Message:
Only define __STDC_ISO_10646__ if wide char support is enabled.


Index: features.h
===================================================================
RCS file: /var/cvs/uClibc/include/features.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- features.h	22 Aug 2003 20:28:43 -0000	1.53
+++ features.h	3 Sep 2003 03:23:31 -0000	1.54
@@ -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




More information about the uClibc-cvs mailing list