浏览代码

Define mbstate_t to be int, not char, for compatibility with glibc
2.1.3 strftime.c.

Paul Eggert 25 年之前
父节点
当前提交
54278395ab
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      m4/mbstate_t.m4

+ 2 - 2
m4/mbstate_t.m4

@@ -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])