From 40f57dcb634766eac71a028dc7ad2a355da7aa57 Mon Sep 17 00:00:00 2001 From: Craig Carnell <1188869+cscd98@users.noreply.github.com> Date: Mon, 8 Dec 2025 19:31:06 +0000 Subject: [PATCH] mingw: fix CPU detection --- Source/Core/Common/x64CPUDetect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Common/x64CPUDetect.cpp b/Source/Core/Common/x64CPUDetect.cpp index d1e9d53273..fa9cb0c15c 100644 --- a/Source/Core/Common/x64CPUDetect.cpp +++ b/Source/Core/Common/x64CPUDetect.cpp @@ -22,7 +22,7 @@ #include "Common/MsgHandler.h" #endif -#ifndef _WIN32 +#ifndef _MSC_VER #ifdef __FreeBSD__ #include @@ -110,7 +110,7 @@ CPUInfo::CPUInfo() void CPUInfo::Detect() { -#ifdef _WIN32 +#ifdef _MSC_VER WarnIfRunningUnderEmulation(); #endif