bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a tweak for Haiku


From: Bruno Haible
Subject: a tweak for Haiku
Date: Tue, 23 Dec 2008 00:52:34 +0100
User-agent: KMail/1.9.9

I had this in my pipe for Haiku since 2008-11-16. Applied now:

2008-12-22  Bruno Haible  <address@hidden>

        * m4/locale-fr.m4 (gt_LOCALE_FR_UTF8): Treat Haiku like BeOS.

--- m4/locale-fr.m4.orig        2008-12-23 00:48:01.000000000 +0100
+++ m4/locale-fr.m4     2008-12-23 00:38:43.000000000 +0100
@@ -1,4 +1,4 @@
-# locale-fr.m4 serial 8
+# locale-fr.m4 serial 9
 dnl Copyright (C) 2003, 2005-2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -133,10 +133,10 @@
 struct tm t;
 char buf[16];
 int main () {
-  /* On BeOS, locales are not implemented in libc.  Rather, libintl
+  /* On BeOS nd Haiku, locales are not implemented in libc.  Rather, libintl
      imitates locale dependent behaviour by looking at the environment
      variables, and all locales use the UTF-8 encoding.  */
-#if !defined(__BEOS__)
+#if !(defined __BEOS__ || defined __HAIKU__)
   /* Check whether the given locale name is recognized by the system.  */
   if (setlocale (LC_ALL, "") == NULL) return 1;
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]