projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd65c1
)
(mbrtowc): Do not use HAVE_WCHAR_H in the definition.
author
Jim Meyering
<jim@meyering.net>
Fri, 14 Jul 2000 13:56:07 +0000
(13:56 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 14 Jul 2000 13:56:07 +0000
(13:56 +0000)
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.
lib/quotearg.c
patch
|
blob
|
history
diff --git
a/lib/quotearg.c
b/lib/quotearg.c
index
37c2aa3
..
b92d3b6
100644
(file)
--- 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
+# if
def mbstate_t
# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
# endif
#else