diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-10 00:01:10 +0100 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-10 00:01:10 +0100 |
commit | 25a349893513aa257718aa92c3e8755b9d89eb7e (patch) | |
tree | 2878fa9b92253dd40a6d9bb0d086e0bc99daa346 /libc/string | |
parent | abd6c6c29f82ddcc7c86c67519b79d2381622ed9 (diff) |
str[n]casecmp.c: fix hidden usage
Provide visible str[n]casecmp[_l], wcs[n]casecmp[_l].
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'libc/string')
-rw-r--r-- | libc/string/strcasecmp.c | 2 | ||||
-rw-r--r-- | libc/string/strncasecmp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strcasecmp.c b/libc/string/strcasecmp.c index 8c95ac04b..f894e426e 100644 --- a/libc/string/strcasecmp.c +++ b/libc/string/strcasecmp.c @@ -61,7 +61,7 @@ int __XL_NPP(strcasecmp)(register const Wchar *s1, register const Wchar *s2 return r; #endif } -#ifndef WANT_WIDE +#if !defined WANT_WIDE || (defined WANT_WIDE && defined __UCLIBC_DO_XLOCALE) libc_hidden_def(__XL_NPP(strcasecmp)) #endif diff --git a/libc/string/strncasecmp.c b/libc/string/strncasecmp.c index 4de01143f..2eac47dd4 100644 --- a/libc/string/strncasecmp.c +++ b/libc/string/strncasecmp.c @@ -64,7 +64,7 @@ int __XL_NPP(strncasecmp)(register const Wchar *s1, register const Wchar *s2, return r; #endif } -#ifndef WANT_WIDE +#if !defined WANT_WIDE || (defined WANT_WIDE && defined __UCLIBC_DO_XLOCALE) libc_hidden_def(__XL_NPP(strncasecmp)) #endif |