Replace "__asm int 0x03" with __debugbreak()

Fixes compilation with msvc 64bit.
This commit is contained in:
dhewg 2012-07-06 00:11:11 +02:00 committed by Daniel Gibson
parent d16d3a5534
commit 575668da57

View file

@ -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