From 4ffc73bf5bb760b2bc1338ac0f4c44fee140f1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 19 May 2020 00:10:39 +0200 Subject: [PATCH] Fix the Windows 32-bit build. (It was complaining about inline assembly in a lambda, I guess at some point we moved a call to Crash into a lambda and it became unhappy). --- Common/CommonFuncs.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Common/CommonFuncs.h b/Common/CommonFuncs.h index cfcbbe0e78..d9b4ea6d74 100644 --- a/Common/CommonFuncs.h +++ b/Common/CommonFuncs.h @@ -77,11 +77,7 @@ inline u64 __rotr64(u64 x, unsigned int shift){ #define ftello _ftelli64 #define atoll _atoi64 #endif - #if _M_IX86 - #define Crash() {__asm int 3} - #else - #define Crash() {__debugbreak();} - #endif // M_IX86 + #define Crash() {__debugbreak();} #endif // WIN32 ndef // Generic function to get last error message.