How about this?

2005-08-23  Simon Josefsson  <[EMAIL PROTECTED]>

        * quotearg.c [!HAVE_MBRTOWC]: Map mbstate_t to int, so that
        compilation suceed when multibyte processing is disabled.

--- quotearg.c  16 Jul 2005 21:29:14 +0200      1.45
+++ quotearg.c  23 Aug 2005 13:25:06 +0200      
@@ -56,6 +56,7 @@
 # define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)
 # define iswprint(wc) isprint ((unsigned char) (wc))
 # undef HAVE_MBSINIT
+# define mbstate_t int
 #endif
 
 #if !defined mbsinit && !HAVE_MBSINIT


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to