From 488b6822ba8a60197094d8a368de2942f0e34fc3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 30 Mar 1996 13:15:50 +0000 Subject: update from gettext-0.10.10. --- intl/finddomain.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'intl/finddomain.c') diff --git a/intl/finddomain.c b/intl/finddomain.c index d1669f4..e41833e 100644 --- a/intl/finddomain.c +++ b/intl/finddomain.c @@ -20,6 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # include #endif +#include #include #include #include @@ -63,7 +64,7 @@ void free (); /* 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 __stpcpy +# define stpcpy(dest, src) __stpcpy(dest, src) #endif /* Encoding of locale name parts. */ @@ -102,7 +103,8 @@ static const char *normalize_codeset PARAMS ((const char *codeset)); /* Substitution for systems lacking this function in their C library. */ #if !_LIBC && !HAVE_STPCPY -static char *stpcpy PARAMS ((char *dest, const char *src)); +static char *stpcpy__ PARAMS ((char *dest, const char *src)); +# define stpcpy(dest, src) stpcpy__ (dest, src) #endif @@ -562,7 +564,7 @@ normalize_codeset (codeset) to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * -stpcpy (dest, src) +stpcpy__ (dest, src) char *dest; const char *src; { -- cgit v1.2.3