mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
Fixed a compiler error when on a Mac with DEBUG not defined, which resulted in an undefined BreakIntoDebugger()
This commit is contained in:
parent
a8c31c725d
commit
55c63af8ae
@ -76,6 +76,8 @@
|
|||||||
#else
|
#else
|
||||||
#define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
|
#define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#define BreakIntoDebugger()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__WIN32__) && defined(_MSC_VER)
|
#elif defined(__WIN32__) && defined(_MSC_VER)
|
||||||
|
Loading…
Reference in New Issue
Block a user