From a62b804c8a03f67d228d22adb6298f9ce33ec979 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 23 Jul 2000 08:38:25 +0000 Subject: [PATCH] When the system forces us to redefine mbstate_t, shadow its mbsinit function. --- lib/quotearg.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2