summary refs log tree commit diff
path: root/string/memccpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/memccpy.c')
-rw-r--r--string/memccpy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/string/memccpy.c b/string/memccpy.c
index 0987c84aa0..f10dafdb78 100644
--- a/string/memccpy.c
+++ b/string/memccpy.c
@@ -20,6 +20,10 @@
 #undef __memccpy
 #undef memccpy
 
+#ifdef MEMCCPY
+# define __memccpy MEMCCPY
+#endif
+
 /* Copy no more than N bytes of SRC to DEST, stopping when C is found.
    Return the position in DEST one byte past where C was copied, or
    NULL if C was not found in the first N bytes of SRC.  */