diff options
author | Bruno Haible <bruno@clisp.org> | 2020-05-09 10:51:57 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-05-09 10:51:57 +0200 |
commit | 0026bb83b67abedfcaf765f3a62bd583611c6b56 (patch) | |
tree | 4b9a8b8df22d282f66678cb2ce3965177645d828 /ChangeLog | |
parent | 2bbe201944c2e65a49e71c6d3d3bfefb0049e899 (diff) | |
download | gnulib-0026bb83b67abedfcaf765f3a62bd583611c6b56.tar.gz |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,20 @@ 2020-05-09 Bruno Haible <bruno@clisp.org> + 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. + +2020-05-09 Bruno Haible <bruno@clisp.org> + Macro tweaks. * m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): Correct config.h comment. * m4/wint_t.m4 (gt_TYPE_WINT_T): Correct indentation. |