changeset 10131:b99666d81d1b

Make localename.c compile with current mingw.
author Bruno Haible <bruno@clisp.org>
date Wed, 28 May 2008 00:55:17 +0200
parents 7581db129a32
children abb18ea528b5
files ChangeLog lib/localename.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue May 27 14:45:41 2008 +0200
+++ b/ChangeLog	Wed May 28 00:55:17 2008 +0200
@@ -1,3 +1,9 @@
+2008-05-27  Bruno Haible  <bruno@clisp.org>
+
+	* lib/localename.c (SUBLANG_TIBETAN_BHUTAN): Force value 2. Needed for
+	current mingw.
+	Reported by Jose E. Marchesi <jemarch@gnu.org>.
+
 2008-05-27  Bruno Haible  <bruno@clisp.org>
 
 	* modules/iconv_open (Link): New section, from module 'iconv'.
--- a/lib/localename.c	Tue May 27 14:45:41 2008 +0200
+++ b/lib/localename.c	Wed May 28 00:55:17 2008 +0200
@@ -731,9 +731,8 @@
 # ifndef SUBLANG_TIBETAN_PRC
 # define SUBLANG_TIBETAN_PRC 0x01
 # endif
-# ifndef SUBLANG_TIBETAN_BHUTAN
+# undef SUBLANG_TIBETAN_BHUTAN
 # define SUBLANG_TIBETAN_BHUTAN 0x02
-# endif
 # ifndef SUBLANG_TIGRINYA_ETHIOPIA
 # define SUBLANG_TIGRINYA_ETHIOPIA 0x01
 # endif