diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-12-08 21:20:11 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-12-08 21:20:11 +0200 |
commit | c5da922b0486462028584e4568d6e00d1a4f2783 (patch) | |
tree | de1d17b273449e5aa03dcbf79d53edbc0bc3b157 /regex_internal.h | |
parent | 69239a8fd65ad7f55cc2d567c933a800d5d10fac (diff) | |
parent | d586094c7c4a9a412a7633a32d2b92a8e1cfea1c (diff) | |
download | egawk-c5da922b0486462028584e4568d6e00d1a4f2783.tar.gz egawk-c5da922b0486462028584e4568d6e00d1a4f2783.tar.bz2 egawk-c5da922b0486462028584e4568d6e00d1a4f2783.zip |
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'regex_internal.h')
-rw-r--r-- | regex_internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regex_internal.h b/regex_internal.h index b5dc7b46..5fcab48a 100644 --- a/regex_internal.h +++ b/regex_internal.h @@ -27,16 +27,18 @@ #include <stdlib.h> #include <string.h> +#include "mbsupport.h" /* gawk */ + #if defined HAVE_LANGINFO_H || defined HAVE_LANGINFO_CODESET || defined _LIBC # include <langinfo.h> #endif #if defined HAVE_LOCALE_H || defined _LIBC # include <locale.h> #endif -#if defined HAVE_WCHAR_H || defined _LIBC +#if MBS_SUPPORT && (defined HAVE_WCHAR_H || defined _LIBC) # include <wchar.h> #endif /* HAVE_WCHAR_H || _LIBC */ -#if defined HAVE_WCTYPE_H || defined _LIBC +#if MBS_SUPPORT && (defined HAVE_WCTYPE_H || defined _LIBC) # include <wctype.h> #endif /* HAVE_WCTYPE_H || _LIBC */ #if defined HAVE_STDBOOL_H || defined _LIBC @@ -108,8 +110,6 @@ is_blank (int c) # define SIZE_MAX ((size_t) -1) #endif -#include "mbsupport.h" /* gawk */ - #if MBS_SUPPORT || _LIBC # define RE_ENABLE_I18N #endif |