summaryrefslogtreecommitdiff
path: root/support/regcomp.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-09-18 13:04:27 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-09-18 13:04:27 +0300
commit154592f9db7af78cfa31ad6d64134ca89eed13b0 (patch)
treeedcf45357d13c23d59e75bde7d513e856a4c71cf /support/regcomp.c
parentcde8fd84a060bcae8a5960897ff2e2de576b2e08 (diff)
downloadgawk-154592f9db7af78cfa31ad6d64134ca89eed13b0.tar.gz
Update support files from GNULIB.
Diffstat (limited to 'support/regcomp.c')
-rw-r--r--support/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/regcomp.c b/support/regcomp.c
index 93bb0a05..692928b0 100644
--- a/support/regcomp.c
+++ b/support/regcomp.c
@@ -558,7 +558,7 @@ weak_alias (__regerror, regerror)
static const bitset_t utf8_sb_map =
{
/* Set the first 128 bits. */
-# if defined __GNUC__ && !defined __STRICT_ANSI__
+# if (defined __GNUC__ || __clang_major__ >= 4) && !defined __STRICT_ANSI__
[0 ... 0x80 / BITSET_WORD_BITS - 1] = BITSET_WORD_MAX
# else
# if 4 * BITSET_WORD_BITS < ASCII_CHARS