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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/regex/utils.h b/src/include/regex/utils.h
index cbab44259e0..e2d8b6cda36 100644
--- a/src/include/regex/utils.h
+++ b/src/include/regex/utils.h
@@ -49,9 +49,8 @@ typedef unsigned char uch;
#define NDEBUG /* no assertions please */
#endif
#endif
-#include <assert.h>
/* for old systems with bcopy() but no memmove() */
-#if defined(PORTNAME_sparc)
+#if !defined(HAVE_MEMMOVE)
#define memmove(d, s, c) bcopy(s, d, c)
#endif