summaryrefslogtreecommitdiff
path: root/libc/misc
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
parent11670276bbd9845d50ce2bb59680a45a883d8a15 (diff)
- Avoid warning about undefined preprocessor token. No obj-code changes.
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/ctype/ctype.c6
-rw-r--r--libc/misc/fnmatch/fnmatch.c2
-rw-r--r--libc/misc/regex/regex.c2
-rw-r--r--libc/misc/time/time.c2
-rw-r--r--libc/misc/ttyent/getttyent.c2
-rw-r--r--libc/misc/wctype/_wctype.c2
-rw-r--r--libc/misc/wordexp/wordexp.c2
7 files changed, 9 insertions, 9 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)
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index 071626ff7..000b787e4 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch.c
@@ -66,7 +66,7 @@
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_b_loc)
libc_hidden_proto(__ctype_tolower_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/misc/regex/regex.c b/libc/misc/regex/regex.c
index ee72b74c5..db758f215 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -70,7 +70,7 @@ libc_hidden_proto(wctype)
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_b_loc)
libc_hidden_proto(__ctype_toupper_loc)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
libc_hidden_proto(__ctype_toupper)
#else
diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
index c98106af0..012176c81 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -185,7 +185,7 @@ libc_hidden_proto(strtol_l)
libc_hidden_proto(strtoul_l)
libc_hidden_proto(nl_langinfo_l)
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/misc/ttyent/getttyent.c b/libc/misc/ttyent/getttyent.c
index e9858ffb7..7ec228514 100644
--- a/libc/misc/ttyent/getttyent.c
+++ b/libc/misc/ttyent/getttyent.c
@@ -52,7 +52,7 @@ libc_hidden_proto(fclose)
libc_hidden_proto(abort)
#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
libc_hidden_proto(__uc_malloc)
diff --git a/libc/misc/wctype/_wctype.c b/libc/misc/wctype/_wctype.c
index a5624ff64..25419b500 100644
--- a/libc/misc/wctype/_wctype.c
+++ b/libc/misc/wctype/_wctype.c
@@ -55,7 +55,7 @@ libc_hidden_proto(towlower_l)
libc_hidden_proto(towupper_l)
libc_hidden_proto(towctrans_l)
libc_hidden_proto(iswctype_l)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
#endif /* __UCLIBC_HAS_XLOCALE__ */
diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c
index 45d5a876e..358586f75 100644
--- a/libc/misc/wordexp/wordexp.c
+++ b/libc/misc/wordexp/wordexp.c
@@ -70,7 +70,7 @@ libc_hidden_proto(globfree)
libc_hidden_proto(wordfree)
#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