summaryrefslogtreecommitdiff
path: root/libc/stdlib
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/stdlib
parent11670276bbd9845d50ce2bb59680a45a883d8a15 (diff)
- Avoid warning about undefined preprocessor token. No obj-code changes.
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/_strtod.c2
-rw-r--r--libc/stdlib/stdlib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/_strtod.c b/libc/stdlib/_strtod.c
index 585e4bd62..73a7ed7c1 100644
--- a/libc/stdlib/_strtod.c
+++ b/libc/stdlib/_strtod.c
@@ -177,7 +177,7 @@ extern void __fp_range_check(__fpmax_t y, __fpmax_t x) attribute_hidden;
#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)
libc_hidden_proto(__ctype_tolower)
#endif
diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c
index ccd3c015d..5189ca289 100644
--- a/libc/stdlib/stdlib.c
+++ b/libc/stdlib/stdlib.c
@@ -502,7 +502,7 @@ unsigned long attribute_hidden _stdlib_strto_l(register const Wchar * __restrict
#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