about summary refs log tree commit diff
path: root/debug/memmove_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/memmove_chk.c')
-rw-r--r--debug/memmove_chk.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/debug/memmove_chk.c b/debug/memmove_chk.c
index f3b74d23d9..6a3e157d8b 100644
--- a/debug/memmove_chk.c
+++ b/debug/memmove_chk.c
@@ -23,8 +23,12 @@
 #include <memcopy.h>
 #include <pagecopy.h>
 
+#ifndef MEMMOVE_CHK
+# define MEMMOVE_CHK __memmove_chk
+#endif
+
 void *
-__memmove_chk (dest, src, len, destlen)
+MEMMOVE_CHK (dest, src, len, destlen)
      void *dest;
      const void *src;
      size_t len;