* lib/regex_internal.h (isascii) [!_LIBC]: Supply glibc version.
+2020-09-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ regex: port to weird isascii platforms
+ * lib/regex_internal.h (isascii) [!_LIBC]: Supply glibc version.
+
2020-09-20 Norihiro Tanaka <noritnk@kcn.ne.jp>
dfa: make dfasupported a global function
# define isblank(ch) ((ch) == ' ' || (ch) == '\t')
#endif
+/* regex code assumes isascii has its usual numeric meaning,
+ even if the portable character set uses EBCDIC encoding,
+ and even if wint_t is wider than int. */
+#ifndef _LIBC
+# undef isascii
+# define isascii(c) (((c) & ~0x7f) == 0)
+#endif
+
#ifdef _LIBC
# ifndef _RE_DEFINE_LOCALE_FUNCTIONS
# define _RE_DEFINE_LOCALE_FUNCTIONS 1