From f6fa605c1b5cab6ac053dbefa21e55d3e5d4a544 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 9 Sep 2003 13:40:36 +0000 Subject: [PATCH] Avoid warnings on OSF/1. --- gettext-tools/src/ChangeLog | 6 ++++++ gettext-tools/src/po-lex.c | 2 +- gettext-tools/src/write-po.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index a4045d81b..b6a34fcd9 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2003-09-09 Bruno Haible + + * 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 * x-perl.c (extract_quotelike_pass3): Change \l handling to no longer diff --git a/gettext-tools/src/po-lex.c b/gettext-tools/src/po-lex.c index 55a191388..fa916b8c7 100644 --- a/gettext-tools/src/po-lex.c +++ b/gettext-tools/src/po-lex.c @@ -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 diff --git a/gettext-tools/src/write-po.c b/gettext-tools/src/write-po.c index abe8eff6d..9120f211c 100644 --- a/gettext-tools/src/write-po.c +++ b/gettext-tools/src/write-po.c @@ -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 -- 2.47.3