diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-27 15:23:46 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-27 15:24:01 +0000 |
commit | 2a1dc20915e6a0375dbc38761954e1aee383ac98 (patch) | |
tree | 6b8f0a5d78a67d86a667f9ae5a5a4d4812ea521b /contrib | |
parent | bbc612a177a263756114cfc089d42068a675ffc3 (diff) | |
download | rspamd-2a1dc20915e6a0375dbc38761954e1aee383ac98.tar.gz rspamd-2a1dc20915e6a0375dbc38761954e1aee383ac98.zip |
[Minor] Fix build with clang and BMI
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/zstd/bitstream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/zstd/bitstream.h b/contrib/zstd/bitstream.h index e96798fe4..9f33c8865 100644 --- a/contrib/zstd/bitstream.h +++ b/contrib/zstd/bitstream.h @@ -298,7 +298,7 @@ MEM_STATIC size_t BIT_getUpperBits(size_t bitContainer, U32 const start) MEM_STATIC size_t BIT_getMiddleBits(size_t bitContainer, U32 const start, U32 const nbBits) { -#if defined(__BMI__) && defined(__GNUC__) /* experimental */ +#if defined(__BMI__) && defined(__GNUC__) && !defined(__llvm__) /* experimental */ # if defined(__x86_64__) if (sizeof(bitContainer)==8) return _bextr_u64(bitContainer, start, nbBits); |