summaryrefslogtreecommitdiff
path: root/libc/misc/regex
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-22 17:28:37 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-22 17:28:37 +0000
commit766ef9a2cc72c5888a3abe83e63442825bf88920 (patch)
treebe53c24b4f6f02e83f52a2f66f1801055b3f21ba /libc/misc/regex
parent55b24e4e95a715b451507f2790d292fa8b1c2c1c (diff)
Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined
Diffstat (limited to 'libc/misc/regex')
-rw-r--r--libc/misc/regex/regex.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index 9328f6025..f39492bdf 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -69,9 +69,11 @@ libc_hidden_proto(wctype)
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_b_loc)
libc_hidden_proto(__ctype_toupper_loc)
-#else
+#elif __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
libc_hidden_proto(__ctype_toupper)
+#else
+libc_hidden_proto(isascii)
#endif
libc_hidden_proto(toupper)
libc_hidden_proto(tolower)