summaryrefslogtreecommitdiffstats
path: root/libc/string/strcasestr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strcasestr.c')
-rw-r--r--libc/string/strcasestr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/strcasestr.c b/libc/string/strcasestr.c
index afef59985..2671b4b98 100644
--- a/libc/string/strcasestr.c
+++ b/libc/string/strcasestr.c
@@ -10,7 +10,7 @@
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_tolower_loc)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_tolower)
#endif
libc_hidden_proto(tolower)
@@ -54,3 +54,4 @@ char *strcasestr(const char *s1, const char *s2)
return (*p) ? NULL : (char *) s1;
#endif
}
+libc_hidden_def(strcasestr)