From: Bruno Haible Date: Sat, 4 Jan 2020 15:30:35 +0000 (+0100) Subject: mbsrtoc32s: Fix bug. X-Git-Tag: v1.0~4374 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5767b9184d04ff05d915442320dc107c58b762cf;p=gnulib.git mbsrtoc32s: Fix bug. * modules/mbsrtoc32s (configure.ac): Require gl_UCHAR_H, to make sure that SMALL_WCHAR_T is defined. --- diff --git a/ChangeLog b/ChangeLog index ecf3650b44..dcb6506065 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-01-04 Bruno Haible + + mbsrtoc32s: Fix bug. + * modules/mbsrtoc32s (configure.ac): Require gl_UCHAR_H, to make sure + that SMALL_WCHAR_T is defined. + 2020-01-04 Bruno Haible mbsrtoc32s: Add tests. diff --git a/modules/mbsrtoc32s b/modules/mbsrtoc32s index 66b578e309..e7e5ee245b 100644 --- a/modules/mbsrtoc32s +++ b/modules/mbsrtoc32s @@ -15,6 +15,7 @@ strnlen1 [test $SMALL_WCHAR_T = 1] mbsrtowcs [test $SMALL_WCHAR_T = 0] configure.ac: +AC_REQUIRE([gl_UCHAR_H]) if test $SMALL_WCHAR_T = 1; then AC_LIBOBJ([mbsrtoc32s-state]) fi