aboutsummaryrefslogtreecommitdiffstats
path: root/regex_internal.h
diff options
context:
space:
mode:
authorJuergen Kahrs <Juergen.Kahrs@vr-web.de>2012-03-20 17:21:22 +0100
committerJuergen Kahrs <Juergen.Kahrs@vr-web.de>2012-03-20 17:21:22 +0100
commit2dcf0c1084fafc7bb4d8ff5435a228ce90c408f8 (patch)
tree858812d9d74191f0462a3667df05073b71bc5147 /regex_internal.h
parent8dffe780526d2bd419d17917eacd91bbacbab9ec (diff)
parentcd44d957787e162df4348028c22e8b9621000790 (diff)
downloadegawk-2dcf0c1084fafc7bb4d8ff5435a228ce90c408f8.tar.gz
egawk-2dcf0c1084fafc7bb4d8ff5435a228ce90c408f8.tar.bz2
egawk-2dcf0c1084fafc7bb4d8ff5435a228ce90c408f8.zip
Merge remote-tracking branch 'origin/master' into xgawk
Diffstat (limited to 'regex_internal.h')
-rw-r--r--regex_internal.h8
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