* lib/propername-lite.c: Test HAVE_UCHAR_H instead of relying on
__has_include.
* modules/propername-lite (Depends-on): Add uchar-h.
+2025-09-05 Bruno Haible <bruno@clisp.org>
+
+ propername-lite: Fix compilation error on Haiku r1/beta4 (regr. today).
+ * lib/propername-lite.c: Test HAVE_UCHAR_H instead of relying on
+ __has_include.
+ * modules/propername-lite (Depends-on): Add uchar-h.
+
2025-09-05 Bruno Haible <bruno@clisp.org>
quotearg: Improve comment.
#include "gettext.h"
-#ifdef __has_include
-# if __has_include (<uchar.h>)
-# include <uchar.h>
+#if HAVE_UCHAR_H
+# include <uchar.h>
/* There is no need for the dependency hassle of replacing glibc mbrtoc32,
as we don't care whether the C locale treats a byte with the high
bit set as an encoding error. */
-# ifdef __GLIBC__
-# undef mbrtoc32
-# endif
-# define USE_MBRTOC32
+# ifdef __GLIBC__
+# undef mbrtoc32
# endif
+# define USE_MBRTOC32
#endif
/* Return the localization of the name spelled NAME_ASCII in ASCII,
Depends-on:
gettext-h
+uchar-h
configure.ac:
m4_ifdef([AM_XGETTEXT_OPTION],