summaryrefslogtreecommitdiff
path: root/lib/regcomp.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-08-17 20:10:30 +0200
committerBruno Haible <bruno@clisp.org>2020-08-17 20:10:56 +0200
commitefe019b5ec90dbd0689444ea668309e679841b44 (patch)
tree974a81fc3c3a145698251f266085f064121a9098 /lib/regcomp.c
parentbfece6834a532ad9fe4d300c22e8ae732ab3ccc8 (diff)
downloadgnulib-efe019b5ec90dbd0689444ea668309e679841b44.tar.gz
Revert autoupdate's revert.
* config/srclist.txt: Mark regcomp.c as needing sync with glibc.
Diffstat (limited to 'lib/regcomp.c')
-rw-r--r--lib/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regcomp.c b/lib/regcomp.c
index 93bb0a0538..692928b0db 100644
--- a/lib/regcomp.c
+++ b/lib/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