From: Bruno Haible Date: Tue, 13 Aug 2024 06:38:22 +0000 (+0200) Subject: mbrtoc16: Fix compilation error on Haiku. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=10678859dbe3a8989c2e68309343e1bb619a96ec;p=gnulib.git mbrtoc16: Fix compilation error on Haiku. * lib/uchar.in.h (mbrtoc16): Fix typo. --- diff --git a/ChangeLog b/ChangeLog index 300af4c444..3b755f229c 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 Collin Funk termios tests: Check for struct winsize. diff --git a/lib/uchar.in.h b/lib/uchar.in.h index a94322b88b..9f2360471e 100644 --- a/lib/uchar.in.h +++ b/lib/uchar.in.h @@ -668,7 +668,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