diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-26 16:23:56 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-26 16:23:56 -0400 |
commit | ef3a9e8eeaea4559bef4b9836f99d712ad835ae8 (patch) | |
tree | 1dcaeb9409bf8d54f35f26073186f05d3e76be47 /lsh256_sse.cpp | |
parent | e54f606192d2908ee6f0b5cb6bfbc3c9ea171544 (diff) | |
download | cryptopp-git-ef3a9e8eeaea4559bef4b9836f99d712ad835ae8.tar.gz |
Fix compile on CentOS 5
Diffstat (limited to 'lsh256_sse.cpp')
-rw-r--r-- | lsh256_sse.cpp | 2 |
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
|