summaryrefslogtreecommitdiff
path: root/third_party/newlib/string/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/newlib/string/memcmp.c')
-rw-r--r--third_party/newlib/string/memcmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/newlib/string/memcmp.c b/third_party/newlib/string/memcmp.c
index 342fb9f..4d47656 100644
--- a/third_party/newlib/string/memcmp.c
+++ b/third_party/newlib/string/memcmp.c
@@ -42,6 +42,10 @@ QUICKREF
/* Threshhold for punting to the byte copier. */
#define TOO_SMALL(LEN) ((LEN) < LBLOCKSIZE)
+#if defined(memcmp)
+#undef memcmp
+#endif
+
int
memcmp (const void *m1,
const void *m2,