From: Jim Meyering Date: Sun, 23 Jul 2000 08:38:25 +0000 (+0000) Subject: When the system forces us to redefine mbstate_t, shadow its mbsinit function. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a62b804c8a03f67d228d22adb6298f9ce33ec979;p=pspp When the system forces us to redefine mbstate_t, shadow its mbsinit function. --- diff --git a/lib/quotearg.c b/lib/quotearg.c index b92d3b64ab..0f2cc49194 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -67,6 +67,7 @@ size_t mbrtowc (); # ifdef mbstate_t # define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0) +# define mbsinit(ps) 1 # endif #else # define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)