summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/string/memcpy.c1
-rw-r--r--libc/string/memset.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/memcpy.c b/libc/string/memcpy.c
index aa8d4ee38..cbb6e633a 100644
--- a/libc/string/memcpy.c
+++ b/libc/string/memcpy.c
@@ -10,6 +10,7 @@
#ifdef WANT_WIDE
# define Wmemcpy wmemcpy
#else
+# undef memcpy
# define Wmemcpy memcpy
#endif
diff --git a/libc/string/memset.c b/libc/string/memset.c
index 6dd20d668..9daf59f69 100644
--- a/libc/string/memset.c
+++ b/libc/string/memset.c
@@ -10,7 +10,7 @@
#ifdef WANT_WIDE
# define Wmemset wmemset
#else
-/* Experimentally off - libc_hidden_proto(memset) */
+# undef memset
# define Wmemset memset
#endif