aboutsummaryrefslogtreecommitdiffstats
path: root/regex_internal.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-11-15 18:35:45 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-11-15 18:35:45 +0200
commit8b863f8852067b0638e09dc7c82355b96381dc12 (patch)
treeeeedacfa918ae53bd52a69fb2c7a47ce1bfbc3e5 /regex_internal.h
parent05de499531bc8fece2625b27a728bd24412ab41a (diff)
downloadegawk-8b863f8852067b0638e09dc7c82355b96381dc12.tar.gz
egawk-8b863f8852067b0638e09dc7c82355b96381dc12.tar.bz2
egawk-8b863f8852067b0638e09dc7c82355b96381dc12.zip
Remove MBS_SUPPORT ifdefs.
Diffstat (limited to 'regex_internal.h')
-rw-r--r--regex_internal.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/regex_internal.h b/regex_internal.h
index c8981a08..3fc2fc58 100644
--- a/regex_internal.h
+++ b/regex_internal.h
@@ -26,18 +26,16 @@
#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 MBS_SUPPORT && (defined HAVE_WCHAR_H || defined _LIBC)
+#if defined HAVE_WCHAR_H || defined _LIBC
# include <wchar.h>
#endif /* HAVE_WCHAR_H || _LIBC */
-#if MBS_SUPPORT && (defined HAVE_WCTYPE_H || defined _LIBC)
+#if defined HAVE_WCTYPE_H || defined _LIBC
# include <wctype.h>
#endif /* HAVE_WCTYPE_H || _LIBC */
#if defined HAVE_STDBOOL_H || defined _LIBC
@@ -109,7 +107,7 @@ is_blank (int c)
# define SIZE_MAX ((size_t) -1)
#endif
-#if MBS_SUPPORT || _LIBC
+#if ! defined(__DJGPP__) && (defined(GAWK) || _LIBC)
# define RE_ENABLE_I18N
#endif