aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteveice10 <[email protected]>2024-01-26 15:46:37 -0800
committermerry <[email protected]>2024-01-27 08:54:07 +0000
commit8398d7ef7e3de08469aa6837c0f67c573f1b96f5 (patch)
treec48df84089cfe39c8829ca75ff315b6211f2a957
parent00c6c00e864a9ee9e1d8264b44bef2fad34ce470 (diff)
downloaddynarmic-8398d7ef7e3de08469aa6837c0f67c573f1b96f5.tar.gz
dynarmic-8398d7ef7e3de08469aa6837c0f67c573f1b96f5.zip
arm64: Fix compiling under MSYS2 CLANGARM64.
-rw-r--r--src/dynarmic/backend/arm64/devirtualize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarmic/backend/arm64/devirtualize.h b/src/dynarmic/backend/arm64/devirtualize.h
index 14057db5..c433fd01 100644
--- a/src/dynarmic/backend/arm64/devirtualize.h
+++ b/src/dynarmic/backend/arm64/devirtualize.h
@@ -47,7 +47,7 @@ DevirtualizedCall DevirtualizeDefault(mcl::class_type<decltype(mfp)>* this_) {
template<auto mfp>
DevirtualizedCall Devirtualize(mcl::class_type<decltype(mfp)>* this_) {
-#if defined(_WIN32)
+#if defined(_WIN32) && defined(_MSC_VER)
return DevirtualizeWindows<mfp>(this_);
#else
return DevirtualizeDefault<mfp>(this_);