summaryrefslogtreecommitdiff
path: root/libc/misc/ctype
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/misc/ctype
parent11670276bbd9845d50ce2bb59680a45a883d8a15 (diff)
- Avoid warning about undefined preprocessor token. No obj-code changes.
Diffstat (limited to 'libc/misc/ctype')
-rw-r--r--libc/misc/ctype/ctype.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c
index 76a671a44..7c25a39fb 100644
--- a/libc/misc/ctype/ctype.c
+++ b/libc/misc/ctype/ctype.c
@@ -37,7 +37,7 @@
#include <locale.h>
#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
@@ -278,7 +278,7 @@ IS_FUNC_BODY(xdigit);
#undef tolower
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_tolower_loc)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_tolower)
#endif
libc_hidden_proto(tolower)
@@ -325,7 +325,7 @@ weak_alias (tolower_l, __tolower_l)
#undef toupper
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_toupper_loc)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_toupper)
#endif
libc_hidden_proto(toupper)