diff --git a/Source/Core/Common/x64CPUDetect.cpp b/Source/Core/Common/x64CPUDetect.cpp index 5fde51d..bd157be 100644 --- a/Source/Core/Common/x64CPUDetect.cpp +++ b/Source/Core/Common/x64CPUDetect.cpp @@ -49,6 +49,12 @@ static u64 _xgetbv_fix(u32 index) return ((u64)edx << 32) | eax; } +#else +// Define _xgetbv_fix for windows +static u64 _xgetbv_fix(u32 index) +{ + return _xgetbv(index) +} #endif // ifndef _WIN32 CPUInfo cpu_info;