From 2ece16a2ef99e65777af5d49164bd72717e52b06 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 13 Aug 2024 08:38:22 +0200 Subject: [PATCH] mbrtoc16: Fix compilation error on Haiku. * lib/uchar.in.h (mbrtoc16): Fix typo. --- ChangeLog | 5 +++++ lib/uchar.in.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 64ea36bc4a..a0e37071a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-08-13 Bruno Haible + + mbrtoc16: Fix compilation error on Haiku. + * lib/uchar.in.h (mbrtoc16): Fix typo. + 2024-08-12 Bruno Haible fdutimensat, utimensat tests: Fix test failures on Cygwin. diff --git a/lib/uchar.in.h b/lib/uchar.in.h index 166cbeccf8..ecb68fcafa 100644 --- a/lib/uchar.in.h +++ b/lib/uchar.in.h @@ -667,7 +667,7 @@ _GL_FUNCDECL_RPL (mbrtoc16, size_t, _GL_CXXALIAS_RPL (mbrtoc16, size_t, (char16_t *pc, const char *s, size_t n, mbstate_t *ps)); # else -# if !@HAVE_MBRTOC32@ +# if !@HAVE_MBRTOC16@ _GL_FUNCDECL_SYS (mbrtoc16, size_t, (char16_t *pc, const char *s, size_t n, mbstate_t *ps)); # endif -- 2.39.5