diff --git a/library/aesce.c b/library/aesce.c index e2b75a2371..90d6417bb6 100644 --- a/library/aesce.c +++ b/library/aesce.c @@ -18,7 +18,7 @@ */ #if defined(__aarch64__) && !defined(__ARM_FEATURE_CRYPTO) && \ - defined(__clang__) && __clang_major__ > 3 + defined(__clang__) && __clang_major__ >= 4 /* TODO: Re-consider above after https://reviews.llvm.org/D131064 merged. * * The intrinsic declaration are guarded by predefined ACLE macros in clang: diff --git a/library/sha256.c b/library/sha256.c index 46a8831aa7..f69293158c 100644 --- a/library/sha256.c +++ b/library/sha256.c @@ -23,7 +23,7 @@ */ #if defined(__aarch64__) && !defined(__ARM_FEATURE_CRYPTO) && \ - defined(__clang__) && __clang_major__ > 3 + defined(__clang__) && __clang_major__ >= 4 /* TODO: Re-consider above after https://reviews.llvm.org/D131064 merged. * * The intrinsic declaration are guarded by predefined ACLE macros in clang: diff --git a/library/sha512.c b/library/sha512.c index 2c91a2a1de..814859e131 100644 --- a/library/sha512.c +++ b/library/sha512.c @@ -23,7 +23,7 @@ */ #if defined(__aarch64__) && !defined(__ARM_FEATURE_SHA512) && \ - defined(__clang__) && __clang_major__ > 7 + defined(__clang__) && __clang_major__ >= 7 /* TODO: Re-consider above after https://reviews.llvm.org/D131064 merged. * * The intrinsic declaration are guarded by predefined ACLE macros in clang: