diff options
Diffstat (limited to 'intl')
-rw-r--r-- | intl/dcgettext.c | 4 | ||||
-rw-r--r-- | intl/l10nflist.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c index c754005..ecc2e1a 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 (); diff --git a/intl/l10nflist.c b/intl/l10nflist.c index 640b932..5309cc7 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)); |