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-Tag: FILEUTILS-4_0x~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e62f7a59622eab5c99a63df92b1bb8aac967c4cb;p=platform%2Fupstream%2Fcoreutils.git When the system forces us to redefine mbstate_t, shadow its mbsinit function. --- diff --git a/lib/quotearg.c b/lib/quotearg.c index b92d3b64a..0f2cc4919 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)