summaryrefslogtreecommitdiff
path: root/lsh512_avx.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-26 16:23:56 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-26 16:23:56 -0400
commitef3a9e8eeaea4559bef4b9836f99d712ad835ae8 (patch)
tree1dcaeb9409bf8d54f35f26073186f05d3e76be47 /lsh512_avx.cpp
parente54f606192d2908ee6f0b5cb6bfbc3c9ea171544 (diff)
downloadcryptopp-git-ef3a9e8eeaea4559bef4b9836f99d712ad835ae8.tar.gz
Fix compile on CentOS 5
Diffstat (limited to 'lsh512_avx.cpp')
-rw-r--r--lsh512_avx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsh512_avx.cpp b/lsh512_avx.cpp
index d7676671..5065967d 100644
--- a/lsh512_avx.cpp
+++ b/lsh512_avx.cpp
@@ -23,7 +23,7 @@
#endif
// GCC at 4.5. Clang is unknown. Also see https://stackoverflow.com/a/42493893.
-#if defined (__has_include) && (__has_include(<x86intrin.h>))
+#if (CRYPTOPP_GCC_VERSION >= 40500)
# include <x86intrin.h>
#endif