aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/memccpy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/string/memccpy.c b/string/memccpy.c
index 0987c84..f10dafd 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. */