summary refs log tree commit diff
path: root/intl/localealias.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index 01fbe04f2e..78a704f185 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -83,7 +83,9 @@ void free ();
    file and the name space must not be polluted.  */
 # define strcasecmp __strcasecmp
 
-# define mempcpy __mempcpy
+# ifndef mempcpy
+#  define mempcpy __mempcpy
+# endif
 # define HAVE_MEMPCPY	1
 
 /* We need locking here since we can be called from different places.  */