summaryrefslogtreecommitdiff
path: root/libc/string/powerpc/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/powerpc/memcpy.c')
-rw-r--r--libc/string/powerpc/memcpy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/powerpc/memcpy.c b/libc/string/powerpc/memcpy.c
index e731f3578..34573b29f 100644
--- a/libc/string/powerpc/memcpy.c
+++ b/libc/string/powerpc/memcpy.c
@@ -21,6 +21,7 @@
#include <string.h>
+#undef memcpy
void attribute_hidden *__memcpy(void *to, const void *from, size_t n)
/* PPC can do pre increment and load/store, but not post increment and load/store.
Therefore use *++ptr instead of *ptr++. */