Fixed RDSEED detection issue for GCC 4.8 and 4.9
parent
28a5fead3b
commit
951d8b9dbe
|
|
@ -132,10 +132,8 @@
|
||||||
|
|
||||||
#if (ALL_RDRAND_INTRIN_AVAILABLE || ALL_RDSEED_INTRIN_AVAILABLE)
|
#if (ALL_RDRAND_INTRIN_AVAILABLE || ALL_RDSEED_INTRIN_AVAILABLE)
|
||||||
# include <immintrin.h> // rdrand, MSC, ICC, and GCC
|
# include <immintrin.h> // rdrand, MSC, ICC, and GCC
|
||||||
# if defined(__has_include)
|
# if defined(__GNUC__) && (CRYPTOPP_GCC_VERSION >= 40600)
|
||||||
# if __has_include(<x86intrin.h>)
|
# include <x86intrin.h> // rdseed for some compilers, like GCC
|
||||||
# include <x86intrin.h> // rdseed for some compilers, like GCC
|
|
||||||
# endif
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue