aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zstd/common/portability_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zstd/common/portability_macros.h')
-rw-r--r--lib/zstd/common/portability_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zstd/common/portability_macros.h b/lib/zstd/common/portability_macros.h
index 05286af72683..e1890b32da88 100644
--- a/lib/zstd/common/portability_macros.h
+++ b/lib/zstd/common/portability_macros.h
@@ -61,7 +61,7 @@
#ifndef DYNAMIC_BMI2
# if ((defined(__clang__) && __has_attribute(__target__)) \
|| (defined(__GNUC__) \
- && (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)))) \
+ && (__GNUC__ >= 11))) \
&& (defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || defined(_M_X64)) \
&& !defined(__BMI2__)
# define DYNAMIC_BMI2 1