summaryrefslogtreecommitdiff
path: root/lsh256_sse.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 /lsh256_sse.cpp
parente54f606192d2908ee6f0b5cb6bfbc3c9ea171544 (diff)
downloadcryptopp-git-ef3a9e8eeaea4559bef4b9836f99d712ad835ae8.tar.gz
Fix compile on CentOS 5
Diffstat (limited to 'lsh256_sse.cpp')
-rw-r--r--lsh256_sse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsh256_sse.cpp b/lsh256_sse.cpp
index 215e5f2f..4417142c 100644
--- a/lsh256_sse.cpp
+++ b/lsh256_sse.cpp
@@ -28,7 +28,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