diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-14 13:56:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-14 13:56:07 +0000 |
commit | e4dac83b0d6b699311faee1967b42f9a94c6a761 (patch) | |
tree | f33673dd60c0fa4f2963883c4cc162d102faed73 /lib | |
parent | 288db81c1894c97f95b2e357b213ab8e572909dc (diff) | |
download | coreutils-e4dac83b0d6b699311faee1967b42f9a94c6a761.tar.xz |
(mbrtowc): Do not use HAVE_WCHAR_H in the definition.
Use defined mbstate_t, not HAVE_MBSTATE_T_OBJECT,
to decide whether to define the BeOS workaround macro;
this adjusts to the change to AC_MBSTATE_T.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/quotearg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c index 37c2aa369..b92d3b64a 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -63,9 +63,9 @@ # include <wchar.h> #endif -#if HAVE_MBRTOWC && HAVE_WCHAR_H +#if HAVE_MBRTOWC size_t mbrtowc (); -# if !HAVE_MBSTATE_T_OBJECT +# ifdef mbstate_t # define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0) # endif #else |