Fixed RDSEED detection issue for GCC 4.8 and 4.9

pull/65/head
Jeffrey Walton 2015-12-24 19:48:01 -05:00
parent 28a5fead3b
commit 951d8b9dbe
1 changed files with 2 additions and 4 deletions

View File

@ -132,10 +132,8 @@
#if (ALL_RDRAND_INTRIN_AVAILABLE || ALL_RDSEED_INTRIN_AVAILABLE)
# include <immintrin.h> // rdrand, MSC, ICC, and GCC
# if defined(__has_include)
# if __has_include(<x86intrin.h>)
# include <x86intrin.h> // rdseed for some compilers, like GCC
# endif
# if defined(__GNUC__) && (CRYPTOPP_GCC_VERSION >= 40600)
# include <x86intrin.h> // rdseed for some compilers, like GCC
# endif
#endif