diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-11-14 21:43:44 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-11-14 21:43:44 +0200 |
commit | cceacad1d367b3019a5648521d4b4c0e201297f5 (patch) | |
tree | d00d122f5abc8231b93a855f62853e3924bbdd08 /mbsupport.h | |
parent | 7e8f32c84caa4c2a99e4cea09fa25c5ae9722784 (diff) | |
download | egawk-cceacad1d367b3019a5648521d4b4c0e201297f5.tar.gz egawk-cceacad1d367b3019a5648521d4b4c0e201297f5.tar.bz2 egawk-cceacad1d367b3019a5648521d4b4c0e201297f5.zip |
More changes for non-MBS case.
Diffstat (limited to 'mbsupport.h')
-rw-r--r-- | mbsupport.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbsupport.h b/mbsupport.h index 1a30785d..57abaa60 100644 --- a/mbsupport.h +++ b/mbsupport.h @@ -40,6 +40,7 @@ #if defined(HAVE_ISWCTYPE) \ && defined(HAVE_LOCALE_H) \ + && defined(HAVE_BTOWC) \ && defined(HAVE_MBRLEN) \ && defined(HAVE_MBRTOWC) \ && defined(HAVE_WCHAR_H) \ @@ -70,10 +71,11 @@ /* All this glop is for dfa.c. Bleah. */ +#define wchar_t char #define wctype_t int -#define wint_t int +#define wint_t int #define mbstate_t int -#define WEOF EOF +#define WEOF EOF #define towupper toupper #define towlower tolower #define btowc(x) (x) |