From ebf8f287451ef01767eef2bd7353bc76834ae8f1 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 27 Sep 2008 15:38:43 +0000 Subject: Update from gnulib. --- gettext-runtime/intl/ChangeLog | 5 +++++ gettext-runtime/intl/localcharset.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'gettext-runtime') diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index f9c6ab0..b6366a3 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,8 @@ +2008-04-13 Bruno Haible + + * localcharset.c (OS2): Don't redefine if already defined. + Reported by Elbert Pol . + 2008-09-20 Bruno Haible * libgnuintl.h.in: Use (defined X && X) idiom to test whether a diff --git a/gettext-runtime/intl/localcharset.c b/gettext-runtime/intl/localcharset.c index e796ae7..c2029f6 100644 --- a/gettext-runtime/intl/localcharset.c +++ b/gettext-runtime/intl/localcharset.c @@ -1,6 +1,6 @@ /* Determine a canonical name for the current locale's character encoding. - Copyright (C) 2000-2006 Free Software Foundation, Inc. + Copyright (C) 2000-2006, 2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published @@ -35,7 +35,9 @@ #if defined __EMX__ /* Assume EMX program runs on OS/2, even if compiled under DOS. */ -# define OS2 +# ifndef OS2 +# define OS2 +# endif #endif #if !defined WIN32_NATIVE -- cgit v1.1