Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

cmake: Use standard preprocessor on MSVC

lat9nq7f3b6edfefdd
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0696201dfc..e814cff196 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -48,6 +48,7 @@ if (MSVC)
/volatile:iso
/Zc:externConstexpr
/Zc:inline
+ /Zc:preprocessor # Use standards-conforming preprocessor
/Zc:throwingNew
/GT