* quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Oct 2006 06:33:39 +0000 (06:33 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Oct 2006 06:33:39 +0000 (06:33 +0000)
lib/ChangeLog
lib/quotearg.c

index cf41602..fb57d99 100644 (file)
@@ -1,3 +1,7 @@
+2006-10-02  Paolo Bonzini  <bonzini@gnu.org>  (tiny change)
+
+       * quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int.
+
 2006-09-29  Paul Eggert  <eggert@cs.ucla.edu>
 
        Work around bug in Solaris 10 /proc file system:
index 381f00a..fcff495 100644 (file)
@@ -51,6 +51,8 @@
    syntax.  */
 # undef MB_CUR_MAX
 # define MB_CUR_MAX 1
+# undef mbstate_t
+# define mbstate_t int
 # define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)
 # define iswprint(wc) isprint ((unsigned char) (wc))
 # undef HAVE_MBSINIT