]> Savannah Git Hosting - gnulib.git/commitdiff
mbrtoc16: Fix compilation error on Haiku.
authorBruno Haible <bruno@clisp.org>
Tue, 13 Aug 2024 06:38:22 +0000 (08:38 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 14 Aug 2024 14:19:30 +0000 (16:19 +0200)
* lib/uchar.in.h (mbrtoc16): Fix typo.

ChangeLog
lib/uchar.in.h

index 64ea36bc4a89644d5d61271e61c81ccc471e8f9a..a0e37071a3bf21afd31366e58acf1f126ccdf19d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-13  Bruno Haible  <bruno@clisp.org>
+
+       mbrtoc16: Fix compilation error on Haiku.
+       * lib/uchar.in.h (mbrtoc16): Fix typo.
+
 2024-08-12  Bruno Haible  <bruno@clisp.org>
 
        fdutimensat, utimensat tests: Fix test failures on Cygwin.
index 166cbeccf8d5a0a667d4dddf49b778c89c14397d..ecb68fcafa2b3ddd2e4917e24c4715c989a45fa9 100644 (file)
@@ -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