Fixed a compiler error when on a Mac with DEBUG not defined, which resulted in an undefined BreakIntoDebugger()

This commit is contained in:
Matt Rubin 2011-02-19 16:03:42 -08:00
parent a8c31c725d
commit 55c63af8ae

View File

@ -76,6 +76,8 @@
#else
#define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
#endif
#else
#define BreakIntoDebugger()
#endif
#elif defined(__WIN32__) && defined(_MSC_VER)