From: Paul Eggert Date: Tue, 3 Oct 2006 06:33:39 +0000 (+0000) Subject: * quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=241622b8c0d1959f00d63ec0c921f76e348a4091;p=pspp * quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index cf41602903..fb57d99d39 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-10-02 Paolo Bonzini (tiny change) + + * quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int. + 2006-09-29 Paul Eggert Work around bug in Solaris 10 /proc file system: diff --git a/lib/quotearg.c b/lib/quotearg.c index 381f00acc1..fcff495e93 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -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