From b7ae453d843a968ff4b71274e4b013960a3878b0 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 27 Dec 2023 16:03:49 +1000 Subject: [PATCH] Common: Fix duplicate fastjmp on Windows/CMake --- common/FastJmp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/FastJmp.cpp b/common/FastJmp.cpp index 435f1bbd2d..83773cc316 100644 --- a/common/FastJmp.cpp +++ b/common/FastJmp.cpp @@ -3,7 +3,8 @@ #include "FastJmp.h" -#if !defined(_MSC_VER) || defined(__clang__) +// Win32 uses Fastjmp.asm, because MSVC doesn't support inline asm. +#if !defined(_WIN32) || defined(_M_ARM64) #if defined(__APPLE__) #define PREFIX "_"