From 575668da574e183a147ec5d4f13e4726c8c84172 Mon Sep 17 00:00:00 2001 From: dhewg Date: Fri, 6 Jul 2012 00:11:11 +0200 Subject: [PATCH] Replace "__asm int 0x03" with __debugbreak() Fixes compilation with msvc 64bit. --- idlib/Lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idlib/Lib.cpp b/idlib/Lib.cpp index 221e639..117de1a 100644 --- a/idlib/Lib.cpp +++ b/idlib/Lib.cpp @@ -510,7 +510,7 @@ int IntForSixtets( byte *in ) { void AssertFailed( const char *file, int line, const char *expression ) { idLib::sys->DebugPrintf( "\n\nASSERTION FAILED!\n%s(%d): '%s'\n", file, line, expression ); #ifdef _MSC_VER - __asm int 0x03 + __debugbreak(); #elif defined( __GNUC__ ) __builtin_trap(); #else