summaryrefslogtreecommitdiff
path: root/libc/string/powerpc/memcpy.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-14 23:02:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-14 23:02:12 +0000
commit497e902f95e415efabfa048ab750a89edbe4370f (patch)
treea4e4ac6fabb9f596074aa3a0878babdaa9d74a4e /libc/string/powerpc/memcpy.c
parent76cad786c8cd778a890ceb936b301d63d64093e4 (diff)
undef functions needed for usage within libc
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++. */