[uClibc-cvs] uClibc/include printf.h,1.2,1.3

Manuel Novoa III mjn3 at uclibc.org
Mon Feb 2 22:27:25 UTC 2004


Update of /var/cvs/uClibc/include
In directory nail:/tmp/cvs-serv27372

Modified Files:
	printf.h 
Log Message:
Use the correct configuration test define.


Index: printf.h
===================================================================
RCS file: /var/cvs/uClibc/include/printf.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- printf.h	3 Jul 2002 17:23:56 -0000	1.2
+++ printf.h	2 Feb 2004 22:27:22 -0000	1.3
@@ -56,7 +56,7 @@
 {
   int prec;			/* Precision.  */
   int width;			/* Width.  */
-#ifdef __STDIO_WIDE				/* TODO: temporary fix for uClibc */
+#ifdef __UCLIBC_HAS_WCHAR__
   wchar_t spec;			/* Format letter.  */
 #else
   int spec;
@@ -136,7 +136,7 @@
 #define PRINT_INFO_SET_extra(INFO_PTR,VAL) \
 	((INFO_PTR)->_flags |= (((INFO_PTR)->_flags & ~1) | ((VAL) & 1)))
 #endif /* __PRINTF_INFO_NO_BITFIELD */
-#ifdef __STDIO_WIDE				/* TODO: temporary fix for uClibc */
+#ifdef __UCLIBC_HAS_WCHAR__
   wchar_t pad;			/* Padding character.  */
 #else
   int pad;




More information about the uClibc-cvs mailing list