When the system forces us to redefine mbstate_t, shadow its mbsinit function.
authorJim Meyering <jim@meyering.net>
Sun, 23 Jul 2000 08:38:25 +0000 (08:38 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 23 Jul 2000 08:38:25 +0000 (08:38 +0000)
lib/quotearg.c

index b92d3b64abd038bce9e021801984f011d179a505..0f2cc49194049aec8cd62ab52a657448925c8f0c 100644 (file)
@@ -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)