]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid using *_unlocked functions on Solaris 2.5.1.
authorBruno Haible <bruno@clisp.org>
Sat, 23 Aug 2003 14:30:34 +0000 (14:30 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:50 +0000 (12:10 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/localcharset.c

index 98a2d368d9d0f21536c20e4438a9a3360e0c919e..8d23c36f146d8cc529d7a3cde7fab0c5329d1d5c 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-27  Bruno Haible  <bruno@clisp.org>
+
+       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 <ebotcazou@libertysurf.fr>.
+
 2003-08-22  Bruno Haible  <bruno@clisp.org>
 
        * error-progname.h: New file, extracted from progname.h.
index d04d05368f96b53fa19b61ea254dee638920a69c..4865f1037a06f09c76a35fd3060c55359e95790e 100644 (file)
@@ -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