From bfe8d458485a452a56e819f9adc5f1499dc86d98 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 5 Apr 2023 14:41:51 +0200 Subject: uchar: Work around Haiku bug. * m4/uchar_h.m4 (gl_UCHAR_H, gl_TYPE_CHAR8_T, gl_TYPE_CHAR16_T, gl_TYPE_CHAR32_T): Before including , on Haiku, first include . * m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): Likewise. * m4/mbrtoc32.m4 (gl_FUNC_MBRTOC32, gl_CHECK_FUNC_MBRTOC32, gl_MBRTOC32_EMPTY_INPUT, gl_MBRTOC32_C_LOCALE, gl_MBRTOC32_SANITYCHECK): Likewise. * lib/uchar.in.h: On Haiku, include before the include_next. * doc/posix-headers/uchar.texi: Mention the Haiku bug. --- doc/posix-headers/uchar.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/posix-headers/uchar.texi b/doc/posix-headers/uchar.texi index 945ce665fd..64c8e3a8d7 100644 --- a/doc/posix-headers/uchar.texi +++ b/doc/posix-headers/uchar.texi @@ -13,6 +13,10 @@ Portability problems fixed by Gnulib: This header file is missing on many non-glibc platforms: glibc 2.15, macOS 11.1, FreeBSD 6.4, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.3, Cygwin, mingw, MSVC 9. @item +This file is not self-contained on some platforms: +@c https://dev.haiku-os.org/ticket/17040 +Haiku. +@item This file produces compilation errors in C++ mode on some platforms: AIX 7.2 with xlclang++. @end itemize -- cgit v1.2.1