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).
This commit is contained in:
Henrik Rydgård 2020-05-19 00:10:39 +02:00
parent d37893d1ac
commit 4ffc73bf5b

View file

@ -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
#endif // WIN32 ndef
// Generic function to get last error message.