diff --git a/tinyxml2.h b/tinyxml2.h index 805a2ff..38168f2 100644 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -56,7 +56,7 @@ distribution. #if defined(DEBUG) #if defined(_MSC_VER) - #define TIXMLASSERT( x ) if ( !(x)) { _asm { int 3 } } //if ( !(x)) WinDebugBreak() + #define TIXMLASSERT( x ) if ( !(x)) { __debugbreak(); } //if ( !(x)) WinDebugBreak() #elif defined (ANDROID_NDK) #include #define TIXMLASSERT( x ) if ( !(x)) { __android_log_assert( "assert", "grinliz", "ASSERT in '%s' at %d.", __FILE__, __LINE__ ); }