Make localename.c compile with current mingw.
authorBruno Haible <bruno@clisp.org>
Tue, 27 May 2008 22:55:17 +0000 (00:55 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 27 May 2008 22:55:17 +0000 (00:55 +0200)
ChangeLog
lib/localename.c

index eb22c0f..b99f538 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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'.
        * modules/striconv (Link): Likewise.
        * modules/striconveh (Link): Likewise.
index f2e1f41..9f4c181 100644 (file)
 # 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