summaryrefslogtreecommitdiff
path: root/third_party/newlib/string/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/newlib/string/memcpy.c')
-rw-r--r--third_party/newlib/string/memcpy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/newlib/string/memcpy.c b/third_party/newlib/string/memcpy.c
index 52f716b..fe8467c 100644
--- a/third_party/newlib/string/memcpy.c
+++ b/third_party/newlib/string/memcpy.c
@@ -44,6 +44,10 @@ QUICKREF
/* Threshhold for punting to the byte copier. */
#define TOO_SMALL(LEN) ((LEN) < BIGBLOCKSIZE)
+#if defined(memcpy)
+#undef memcpy
+#endif
+
void *
__inhibit_loop_to_libcall
memcpy (void *__restrict dst0,