]> Savannah Git Hosting - gnulib.git/commit
uchar: Work around incorrect char16_t, char32_t types on Haiku 2020.
authorBruno Haible <bruno@clisp.org>
Sat, 9 May 2020 08:51:57 +0000 (10:51 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 9 May 2020 08:51:57 +0000 (10:51 +0200)
commit0026bb83b67abedfcaf765f3a62bd583611c6b56
tree4b9a8b8df22d282f66678cb2ce3965177645d828
parent2bbe201944c2e65a49e71c6d3d3bfefb0049e899
uchar: Work around incorrect char16_t, char32_t types on Haiku 2020.

* lib/uchar.in.h (char16_t): Define as macro if
GNULIB_OVERRIDES_CHAR16_T.
(char32_t): Define as macro if GNULIB_OVERRIDES_CHAR32_T.
* m4/uchar.m4 (gl_TYPE_CHAR16_T, gl_TYPE_CHAR32_T): New macros.
(gl_UCHAR_H): Invoke them.
(gl_UCHAR_H_DEFAULTS): Initialize GNULIB_OVERRIDES_CHAR16_T,
GNULIB_OVERRIDES_CHAR32_T.
* m4/mbrtoc32.m4 (gl_FUNC_MBRTOC32, gl_MBRTOC32_SANITYCHECK): Require
gl_TYPE_CHAR32_T and test GNULIB_OVERRIDES_CHAR32_T.
* modules/uchar (Makefile.am): Substitute GNULIB_OVERRIDES_CHAR16_T,
GNULIB_OVERRIDES_CHAR32_T.
ChangeLog
lib/uchar.in.h
m4/mbrtoc32.m4
m4/uchar.m4
modules/uchar