about summary refs log tree commit diff
path: root/intl/l10nflist.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/l10nflist.c')
-rw-r--r--intl/l10nflist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/intl/l10nflist.c b/intl/l10nflist.c
index 640b932b01..5309cc73ed 100644
--- a/intl/l10nflist.c
+++ b/intl/l10nflist.c
@@ -68,7 +68,9 @@
 /* Rename the non ANSI C functions.  This is required by the standard
    because some ANSI C functions will require linking with this object
    file and the name space must not be polluted.  */
-# define stpcpy(dest, src) __stpcpy(dest, src)
+# ifndef stpcpy
+#  define stpcpy(dest, src) __stpcpy(dest, src)
+# endif
 #else
 # ifndef HAVE_STPCPY
 static char *stpcpy PARAMS ((char *dest, const char *src));