summaryrefslogtreecommitdiff
path: root/src/sys2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys2.h')
-rw-r--r--src/sys2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys2.h b/src/sys2.h
index 06f70bd15..a0045f13c 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -167,7 +167,7 @@ off_t lseek ();
#include "xalloc.h"
-#ifndef HAVE_MEMPCPY
+#if ! defined HAVE_MEMPCPY && ! defined mempcpy
/* Be CAREFUL that there are no side effects in N. */
# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))
#endif