about summary refs log tree commit diff
path: root/intl/dcgettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/dcgettext.c')
-rw-r--r--intl/dcgettext.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c
index c7540053b2..ecc2e1ac26 100644
--- a/intl/dcgettext.c
+++ b/intl/dcgettext.c
@@ -95,7 +95,9 @@ void free ();
    because some ANSI C functions will require linking with this object
    file and the name space must not be polluted.  */
 # define getcwd __getcwd
-# define stpcpy __stpcpy
+# ifndef stpcpy
+#  define stpcpy __stpcpy
+# endif
 #else
 # if !defined HAVE_GETCWD
 char *getwd ();