Fix debug build (MSVC 2003-2010)

This commit is contained in:
Guillermo A. Amaral 2012-03-24 11:07:19 -07:00
parent 876b2476d5
commit 68b0c87640
1 changed files with 1 additions and 1 deletions

View File

@ -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 <android/log.h>
#define TIXMLASSERT( x ) if ( !(x)) { __android_log_assert( "assert", "grinliz", "ASSERT in '%s' at %d.", __FILE__, __LINE__ ); }