From ddb8f36e8894a3bce7daeca0815fb0137de73388 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 15 Apr 2023 18:21:03 -0400 Subject: Fix use of for MSVC (GH #1198) It seems Microsoft now defines GCC defines, like __BMI__ --- lsh256_avx.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lsh256_avx.cpp') diff --git a/lsh256_avx.cpp b/lsh256_avx.cpp index 88df6a17..f4ac6b57 100644 --- a/lsh256_avx.cpp +++ b/lsh256_avx.cpp @@ -25,8 +25,7 @@ extern const char LSH256_AVX_FNAME[] = __FILE__; # include #endif -// GCC at 4.5. Clang is unknown. Also see https://stackoverflow.com/a/42493893. -#if (CRYPTOPP_GCC_VERSION >= 40500) +#if defined(CRYPTOPP_GCC_COMPATIBLE) # include #endif -- cgit v1.2.1