diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-22 17:28:37 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-22 17:28:37 +0000 |
commit | 766ef9a2cc72c5888a3abe83e63442825bf88920 (patch) | |
tree | be53c24b4f6f02e83f52a2f66f1801055b3f21ba /libc/misc/wctype | |
parent | 55b24e4e95a715b451507f2790d292fa8b1c2c1c (diff) |
Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined
Diffstat (limited to 'libc/misc/wctype')
-rw-r--r-- | libc/misc/wctype/_wctype.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libc/misc/wctype/_wctype.c b/libc/misc/wctype/_wctype.c index 84c308a18..0f19cad04 100644 --- a/libc/misc/wctype/_wctype.c +++ b/libc/misc/wctype/_wctype.c @@ -38,9 +38,7 @@ #include <bits/uClibc_uwchar.h> libc_hidden_proto(strcmp) -libc_hidden_proto(__C_ctype_tolower) libc_hidden_proto(tolower) -libc_hidden_proto(__C_ctype_toupper) libc_hidden_proto(toupper) libc_hidden_proto(towlower) libc_hidden_proto(towupper) @@ -57,10 +55,15 @@ libc_hidden_proto(towlower_l) libc_hidden_proto(towupper_l) libc_hidden_proto(towctrans_l) libc_hidden_proto(iswctype_l) -#else +#elif __UCLIBC_HAS_CTYPE_TABLES__ libc_hidden_proto(__ctype_b) #endif /* __UCLIBC_HAS_XLOCALE__ */ +#ifdef __UCLIBC_HAS_CTYPE_TABLES__ +libc_hidden_proto(__C_ctype_tolower) +libc_hidden_proto(__C_ctype_toupper) +#endif + /* We know wide char support is enabled. We wouldn't be here otherwise. */ /* Define this if you want to unify the towupper and towlower code in the |