summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-15 17:59:48 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-15 17:59:48 +0000
commiteba63c6f8fa24c141ce247b2216b2e800f02e77e (patch)
treee32a62599261f34616e5a2c52e6f4ca6e7a096ef /libc/misc
parent955daf2c290d6d617c179070907358d991c11571 (diff)
get rid of warning if UCLIBC_HAS_CTYPE_TABLES is not enabled
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/regex/regex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index 8bac9c775..864a92821 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -57,8 +57,10 @@ libc_hidden_proto(wctype)
#endif
#include <ctype.h>
+#ifdef __UCLIBC_HAS_CTYPE_TABLES__
#define __toupper toupper
#define __tolower tolower
+#endif
#define __mempcpy mempcpy
libc_hidden_proto(toupper)
libc_hidden_proto(tolower)