diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-12-06 21:39:57 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-12-06 21:39:57 +0200 |
commit | c399d8f8226bba46d34b8672ca50722605f95e37 (patch) | |
tree | d17c6dfa1450428f5efac80418d89276681099d8 /mbsupport.h | |
parent | 77620464b7805e03fcfc5de21a6e46b32426c6f0 (diff) | |
download | egawk-c399d8f8226bba46d34b8672ca50722605f95e37.tar.gz egawk-c399d8f8226bba46d34b8672ca50722605f95e37.tar.bz2 egawk-c399d8f8226bba46d34b8672ca50722605f95e37.zip |
MBS support tweaks for DJGPP and z/OS.
Diffstat (limited to 'mbsupport.h')
-rw-r--r-- | mbsupport.h | 7 |
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 |