summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-11-27 22:02:37 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-11-27 22:02:37 +0000
commitfa28831a8c4ebaf627d6a1cff941b4d357b80d36 (patch)
treed13d16db5da4a5c4339e939a582c68fe3814d9d6
parent4347d6de07fb266e786edf58a5f99d59b7566659 (diff)
Fix an ifdef mismatch.
-rw-r--r--libc/stdio/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/printf.c b/libc/stdio/printf.c
index 054d2ca6d..273bf3621 100644
--- a/libc/stdio/printf.c
+++ b/libc/stdio/printf.c
@@ -443,9 +443,9 @@ size_t parse_printf_format(register const char *template,
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[] */