summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-22 17:28:37 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-22 17:28:37 +0000
commit766ef9a2cc72c5888a3abe83e63442825bf88920 (patch)
treebe53c24b4f6f02e83f52a2f66f1801055b3f21ba /libc/stdio
parent55b24e4e95a715b451507f2790d292fa8b1c2c1c (diff)
Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/_scanf.c2
-rw-r--r--libc/stdio/_vfprintf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c
index bbbcdcc17..a83621681 100644
--- a/libc/stdio/_scanf.c
+++ b/libc/stdio/_scanf.c
@@ -100,7 +100,7 @@ libc_hidden_proto(fgetwc_unlocked)
#endif
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_b_loc)
-#else
+#elif __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
#endif
diff --git a/libc/stdio/_vfprintf.c b/libc/stdio/_vfprintf.c
index d6965ca83..f4bbb1c1e 100644
--- a/libc/stdio/_vfprintf.c
+++ b/libc/stdio/_vfprintf.c
@@ -732,7 +732,7 @@ void attribute_hidden _ppfs_setargs(register ppfs_t *ppfs)
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_b_loc)
-#else
+#elif __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
#endif