Define mbstate_t to be int, not char, for compatibility with glibc
2.1.3 strftime.c.
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user