diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-23 08:38:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-23 08:38:25 +0000 |
commit | e62f7a59622eab5c99a63df92b1bb8aac967c4cb (patch) | |
tree | f89c1927cce774b8d80e95d61f3a171e9046d36f | |
parent | a121532512c8b4b7e312843ba3e98aea10bf7e59 (diff) | |
download | coreutils-e62f7a59622eab5c99a63df92b1bb8aac967c4cb.tar.xz |
When the system forces us to redefine mbstate_t, shadow its mbsinit function.
-rw-r--r-- | lib/quotearg.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |