about summary refs log tree commit diff
path: root/string/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/memcmp.c')
-rw-r--r--string/memcmp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/string/memcmp.c b/string/memcmp.c
index dd76145f03..d7c57db8bd 100644
--- a/string/memcmp.c
+++ b/string/memcmp.c
@@ -29,6 +29,10 @@
 
 #undef memcmp
 
+#ifndef MEMCMP
+# define MEMCMP memcmp
+#endif
+
 #ifdef _LIBC
 
 # include <memcopy.h>
@@ -304,7 +308,7 @@ memcmp_not_common_alignment (srcp1, srcp2, len)
 }
 
 int
-memcmp (s1, s2, len)
+MEMCMP (s1, s2, len)
      const __ptr_t s1;
      const __ptr_t s2;
      size_t len;