From: Jim Meyering Date: Sat, 13 Aug 2005 22:47:48 +0000 (+0000) Subject: Don't define mbrtowc at all. X-Git-Tag: CPPI-1_12~149 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9a52f316ac276a95e63900ba533561f29b837ea;p=thirdparty%2Fcoreutils.git Don't define mbrtowc at all. If mbstate_t is not defined, then AC_TYPE_MBSTATE_T will define it to `int' for us. --- diff --git a/src/wc.c b/src/wc.c index 96747fc4db..4147d7c116 100644 --- a/src/wc.c +++ b/src/wc.c @@ -50,11 +50,6 @@ #include "inttostr.h" #include "safe-read.h" -/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */ -#if HAVE_MBRTOWC && ! defined HAVE_MBSTATE_T -# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0) -#endif - #ifndef HAVE_DECL_WCWIDTH "this configure-time declaration test was not run" #endif