summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 13:42:54 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 13:42:54 +0000
commit1d7049aa86f21ebf3e8ec55f9a736d725c243a68 (patch)
tree5974418e3163cec393f5c1bdb3cc34d094d5e4e6 /libc/stdio
parent11670276bbd9845d50ce2bb59680a45a883d8a15 (diff)
- Avoid warning about undefined preprocessor token. No obj-code changes.
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 927a187b5..bef1ce0b5 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)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
#endif
diff --git a/libc/stdio/_vfprintf.c b/libc/stdio/_vfprintf.c
index 0e0f75a81..9c44a26a6 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)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
#endif