mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21:19 +00:00
Replace "__asm int 0x03" with __debugbreak()
Fixes compilation with msvc 64bit.
This commit is contained in:
parent
d16d3a5534
commit
575668da57
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue