diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-13 22:47:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-13 22:47:48 +0000 |
commit | f9a52f316ac276a95e63900ba533561f29b837ea (patch) | |
tree | 3fe4ef4c6c5bed4506bb136474b9cd67923d0d15 /src | |
parent | 9d66e1afee62a575d9ad815adaa4efae5bd723d7 (diff) | |
download | coreutils-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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 |