summaryrefslogtreecommitdiffstats
path: root/libc/string/wstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/wstring.c')
-rw-r--r--libc/string/wstring.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/string/wstring.c b/libc/string/wstring.c
index 6957b1fb8..c3dc32dbb 100644
--- a/libc/string/wstring.c
+++ b/libc/string/wstring.c
@@ -876,6 +876,9 @@ Wchar *Wstrstr(const Wchar *s1, const Wchar *s2)
#endif
/**********************************************************************/
+#undef Wstrspn
+#undef Wstrpbrk
+
#ifdef L_wcstok
#define L_strtok_r
#define Wstrtok_r wcstok
@@ -1160,6 +1163,9 @@ void *memccpy(void * __restrict s1, const void * __restrict s2, int c, size_t n)
#endif
/**********************************************************************/
+#undef Wstrlen
+#undef Wstrcpy
+
#ifdef L_wcsdup
#define L_strdup
#define Wstrdup wcsdup