Fix include for MSVC compiler (GH #972)

Thanks @wyattoday
This commit is contained in:
Jeffrey Walton 2020-11-20 19:14:35 -05:00
parent d85a68625a
commit 7177df3068
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -14,9 +14,9 @@
#include "misc.h"
#include "stdcpp.h"
// For _xgetbv on Microsoft 32-bit and 64-bit platforms
// For _xgetbv on Microsoft 32-bit and 64-bit Intel platforms
// https://github.com/weidai11/cryptopp/issues/972
#if _MSC_VER >= 1600
#if _MSC_VER >= 1600 && (defined(_M_IX86) || defined(_M_X64))
# include <immintrin.h>
#endif