]> 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>
Tue, 13 Aug 2024 06:38:56 +0000 (08:38 +0200)
* lib/uchar.in.h (mbrtoc16): Fix typo.

ChangeLog
lib/uchar.in.h

index 300af4c444a6caa6acbcfbc5a6717a1987c99722..3b755f229c03eeb2c8760593047d65d7f7021ce8 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  Collin Funk  <collin.funk1@gmail.com>
 
        termios tests: Check for struct winsize.
index a94322b88b3785328eeddc3b4c21bdc63b264e9f..9f2360471ee5382894cb96195b2769abadb936fa 100644 (file)
@@ -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