summaryrefslogtreecommitdiff
path: root/modules/wchar
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-12-21 02:55:00 +0100
committerBruno Haible <bruno@clisp.org>2008-12-21 02:55:00 +0100
commit2c11b49f00662697a6b27da0beb86adb4b6fae97 (patch)
treeda3a8a8eff9c5d5986a4dc400acf153d25f1b0cf /modules/wchar
parent6d65e7578f692b2d06574e25a848cef93b02ed25 (diff)
downloadgnulib-2c11b49f00662697a6b27da0beb86adb4b6fae97.tar.gz
Work around mbrtowc bugs on AIX, HP-UX, OSF/1, Solaris.
Diffstat (limited to 'modules/wchar')
-rw-r--r--modules/wchar3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/wchar b/modules/wchar
index f0bbe92775..716e7f2802 100644
--- a/modules/wchar
+++ b/modules/wchar
@@ -40,7 +40,10 @@ wchar.h: wchar.in.h
-e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
-e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
-e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
+ -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
-e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
+ -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
+ -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
-e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
< $(srcdir)/wchar.in.h; \