projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14eb30c
)
Make inclusion of <wchar.h> independent of whether
author
Jim Meyering
<jim@meyering.net>
Tue, 4 Jul 2000 17:31:56 +0000
(17:31 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 4 Jul 2000 17:31:56 +0000
(17:31 +0000)
HAVE_MBRTOWC is set. Required at least for irix-5.6, which lacks mbrtowc.
lib/quotearg.c
patch
|
blob
|
history
diff --git
a/lib/quotearg.c
b/lib/quotearg.c
index 902192e701edc8bd0d5c92ccb7d3acceada6e184..553a0f0c385d0e16034c6d8890eb3379246e734c 100644
(file)
--- a/
lib/quotearg.c
+++ b/
lib/quotearg.c
@@
-58,8
+58,11
@@
# include <string.h>
#endif
-#if HAVE_
MBRTOWC && HAVE_
WCHAR_H
+#if HAVE_WCHAR_H
# include <wchar.h>
+#endif
+
+#if HAVE_MBRTOWC && HAVE_WCHAR_H
# if !HAVE_MBSTATE_T_OBJECT
# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
# endif