From f9a52f316ac276a95e63900ba533561f29b837ea Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 Aug 2005 22:47:48 +0000 Subject: Don't define mbrtowc at all. If mbstate_t is not defined, then AC_TYPE_MBSTATE_T will define it to `int' for us. --- src/wc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/wc.c b/src/wc.c index 96747fc4d..4147d7c11 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 -- cgit v1.2.3-54-g00ecf