summaryrefslogtreecommitdiff
path: root/libc/string/memchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/memchr.c')
-rw-r--r--libc/string/memchr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/memchr.c b/libc/string/memchr.c
index 5e60f6554..438f4fa4a 100644
--- a/libc/string/memchr.c
+++ b/libc/string/memchr.c
@@ -10,6 +10,7 @@
#ifdef WANT_WIDE
# define Wmemchr wmemchr
#else
+# undef memchr
# define Wmemchr memchr
#endif