summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/string/strcasecmp.c2
-rw-r--r--libc/string/strncasecmp.c2
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