diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-12-29 17:32:25 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-01-04 08:38:52 -0300 |
commit | c2a150d089fa096cb5f9e342da80fb30dc0d1953 (patch) | |
tree | 9fc88708b64fb0d2d4a2d5647e865922223cb898 /posix/regcomp.c | |
parent | fee3b889d88193eb3cebaab2bcf60e39ce84d369 (diff) | |
download | glibc-c2a150d089fa096cb5f9e342da80fb30dc0d1953.zip glibc-c2a150d089fa096cb5f9e342da80fb30dc0d1953.tar.gz glibc-c2a150d089fa096cb5f9e342da80fb30dc0d1953.tar.bz2 |
posix: Sync regex code with gnulib
It sync with gnulib commit 43ee1a6bf. The main change is 9682f18e9.
(which does not have a meaniful description).
Checked on x86_64-linux-gnu.
Diffstat (limited to 'posix/regcomp.c')
-rw-r--r-- | posix/regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regcomp.c b/posix/regcomp.c index e28e370..d93698a 100644 --- a/posix/regcomp.c +++ b/posix/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 |