]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid warnings on OSF/1.
authorBruno Haible <bruno@clisp.org>
Tue, 9 Sep 2003 13:40:36 +0000 (13:40 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:58 +0000 (12:10 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/po-lex.c
gettext-tools/src/write-po.c

index a4045d81bb8f6c21d807b0a19031c53080f1c494..b6a34fcd99cded33b6765276abe6fb475dc8cfd3 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-09  Bruno Haible  <bruno@clisp.org>
+
+       * po-lex.c: Test HAVE_DECL_GETC_UNLOCKED instead of HAVE_GETC_UNLOCKED.
+       * write-po.c: Test HAVE_DECL_PUTC_UNLOCKED instead of
+       HAVE_PUTC_UNLOCKED.
+
 2003-09-09  Guido Flohr  <guido@imperia.net>
 
        * x-perl.c (extract_quotelike_pass3): Change \l handling to no longer
index 55a19138858313e8a68d1329914c46d6089a82f4..fa916b8c73e41448d918e93f743fa3b3622d129d 100644 (file)
@@ -56,7 +56,7 @@
 # include "utf8-ucs4.h"
 #endif
 
-#ifdef HAVE_GETC_UNLOCKED
+#if HAVE_DECL_GETC_UNLOCKED
 # undef getc
 # define getc getc_unlocked
 #endif
index abe8eff6d244cfcd3a58e532fcecdc5818b864b6..9120f211c581b87433647777089b76b3a28ef622 100644 (file)
@@ -51,7 +51,7 @@
 /* Our regular abbreviation.  */
 #define _(str) gettext (str)
 
-#ifdef HAVE_PUTC_UNLOCKED
+#if HAVE_DECL_PUTC_UNLOCKED
 # undef putc
 # define putc putc_unlocked
 #endif