summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-08-13 22:47:48 +0000
committerJim Meyering <jim@meyering.net>2005-08-13 22:47:48 +0000
commitf9a52f316ac276a95e63900ba533561f29b837ea (patch)
tree3fe4ef4c6c5bed4506bb136474b9cd67923d0d15 /src
parent9d66e1afee62a575d9ad815adaa4efae5bd723d7 (diff)
downloadcoreutils-f9a52f316ac276a95e63900ba533561f29b837ea.tar.xz
Don't define mbrtowc at all.
If mbstate_t is not defined, then AC_TYPE_MBSTATE_T will define it to `int' for us.
Diffstat (limited to 'src')
-rw-r--r--src/wc.c5
1 files changed, 0 insertions, 5 deletions
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