From: Bruno Haible Date: Sat, 23 Aug 2003 14:30:34 +0000 (+0000) Subject: Avoid using *_unlocked functions on Solaris 2.5.1. X-Git-Tag: v0.13~355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ea0b087969afaa78ab7c8e49ee9542290238cc;p=thirdparty%2Fgettext.git Avoid using *_unlocked functions on Solaris 2.5.1. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 98a2d368d..8d23c36f1 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,9 @@ +2003-06-27 Bruno Haible + + Avoid use of *_unlocked functions on Solaris 2.5.1. + * localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED. + Reported by Eric Botcazou . + 2003-08-22 Bruno Haible * error-progname.h: New file, extracted from progname.h. diff --git a/gettext-tools/lib/localcharset.c b/gettext-tools/lib/localcharset.c index d04d05368..4865f1037 100644 --- a/gettext-tools/lib/localcharset.c +++ b/gettext-tools/lib/localcharset.c @@ -86,7 +86,7 @@ # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) #endif -#ifdef HAVE_GETC_UNLOCKED +#if HAVE_DECL_GETC_UNLOCKED # undef getc # define getc getc_unlocked #endif