mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +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
|
||||
#define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
|
||||
#endif
|
||||
#else
|
||||
#define BreakIntoDebugger()
|
||||
#endif
|
||||
|
||||
#elif defined(__WIN32__) && defined(_MSC_VER)
|
||||
|
Loading…
Reference in New Issue
Block a user