summaryrefslogtreecommitdiff
path: root/mbsupport.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-12-06 21:39:57 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-12-06 21:39:57 +0200
commitc399d8f8226bba46d34b8672ca50722605f95e37 (patch)
treed17c6dfa1450428f5efac80418d89276681099d8 /mbsupport.h
parent77620464b7805e03fcfc5de21a6e46b32426c6f0 (diff)
downloadgawk-c399d8f8226bba46d34b8672ca50722605f95e37.tar.gz
MBS support tweaks for DJGPP and z/OS.
Diffstat (limited to 'mbsupport.h')
-rw-r--r--mbsupport.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/mbsupport.h b/mbsupport.h
index 57abaa60..f647d788 100644
--- a/mbsupport.h
+++ b/mbsupport.h
@@ -40,7 +40,7 @@
#if defined(HAVE_ISWCTYPE) \
&& defined(HAVE_LOCALE_H) \
- && defined(HAVE_BTOWC) \
+ && (defined(HAVE_BTOWC) || defined(ZOS_USS)) \
&& defined(HAVE_MBRLEN) \
&& defined(HAVE_MBRTOWC) \
&& defined(HAVE_WCHAR_H) \
@@ -71,7 +71,10 @@
/* All this glop is for dfa.c. Bleah. */
-#define wchar_t char
+#ifndef DJGPP
+#define wchar_t char
+#endif
+
#define wctype_t int
#define wint_t int
#define mbstate_t int