Common: Fix duplicate fastjmp on Windows/CMake

This commit is contained in:
Connor McLaughlin 2023-12-27 16:03:49 +10:00 committed by GitHub
parent 33958fed96
commit b7ae453d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 "_"