aboutsummaryrefslogtreecommitdiff
path: root/src/include/regex/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/regex/utils.h')
-rw-r--r--src/include/regex/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/regex/utils.h b/src/include/regex/utils.h
index e6f169065fb..de36c6ffb56 100644
--- a/src/include/regex/utils.h
+++ b/src/include/regex/utils.h
@@ -58,6 +58,6 @@ typedef unsigned char uch;
#endif
/* for old systems with bcopy() but no memmove() */
-#if !defined(HAVE_MEMMOVE)
+#if !defined(HAVE_MEMMOVE) && !defined(memmove)
#define memmove(d, s, c) bcopy(s, d, c)
#endif