[uClibc-cvs] uClibc/libc/stdio printf.c,1.43,1.44

Manuel Novoa III mjn3 at uclibc.org
Wed Nov 27 22:02:40 UTC 2002


Update of /var/cvs/uClibc/libc/stdio
In directory winder:/tmp/cvs-serv31324

Modified Files:
	printf.c 
Log Message:
Fix an ifdef mismatch.


Index: printf.c
===================================================================
RCS file: /var/cvs/uClibc/libc/stdio/printf.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- printf.c	22 Nov 2002 03:05:22 -0000	1.43
+++ printf.c	27 Nov 2002 22:02:37 -0000	1.44
@@ -443,9 +443,9 @@
 
 int _ppfs_init(register ppfs_t *ppfs, const char *fmt0)
 {
-#if defined(__UCLIBC_HAS_WCHAR__) && defined(__UCLIBC_HAS_LOCALE__)
+#ifdef __UCLIBC_HAS_WCHAR__
 	static const char invalid_mbs[] = "Invalid multibyte format string.";
-#endif /* defined(__UCLIBC_HAS_WCHAR__) && defined(__UCLIBC_HAS_LOCALE__) */
+#endif /* __UCLIBC_HAS_WCHAR__ */
 	int r;
 
 	/* First, zero out everything... argnumber[], argtype[], argptr[] */




More information about the uClibc-cvs mailing list