From 39ad96341a1677b1a7a110cd846bfbbcb2cad1c6 Mon Sep 17 00:00:00 2001 From: yhnmj6666 Date: Sun, 12 Mar 2017 01:22:53 +0800 Subject: [PATCH] for __cpuid compability with VS2017 --- src/common/x64/cpu_detect.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cpp index 370ae2c80..99d7689e4 100644 --- a/src/common/x64/cpu_detect.cpp +++ b/src/common/x64/cpu_detect.cpp @@ -8,6 +8,11 @@ #include "common/common_types.h" #include "cpu_detect.h" +#ifdef _MSC_VER +#include +#endif // _MSC_VER + + namespace Common { #ifndef _MSC_VER