diff options
-rw-r--r-- | core/cpu_caps.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/cpu_caps.cpp b/core/cpu_caps.cpp index 8211b331..0325cd49 100644 --- a/core/cpu_caps.cpp +++ b/core/cpu_caps.cpp @@ -11,11 +11,10 @@ #endif #endif -#ifdef HAVE_INTRIN_H -#include <intrin.h> -#endif -#ifdef HAVE_CPUID_H +#if defined(HAVE_CPUID_H) #include <cpuid.h> +#elif defined(HAVE_INTRIN_H) +#include <intrin.h> #endif #include <array> |