Define mbstate_t to be int, not char, for compatibility with glibc

2.1.3 strftime.c.
This commit is contained in:
Paul Eggert
2000-08-07 04:27:00 +00:00
parent 1063141801
commit 54278395ab

View File

@@ -1,4 +1,4 @@
# serial 7
# serial 8
# From Paul Eggert.
@@ -24,6 +24,6 @@ AC_DEFUN(AC_MBSTATE_T,
ac_cv_type_mbstate_t=yes,
ac_cv_type_mbstate_t=no)])
if test $ac_cv_type_mbstate_t = no; then
AC_DEFINE(mbstate_t, char,
AC_DEFINE(mbstate_t, int,
[Define to a type if <wchar.h> does not define.])
fi])