mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
Made dummy BreakIntoDebugger() macro an inline function to avoid compiler warning
This commit is contained in:
parent
a691e69dae
commit
7fe330f078
@ -77,7 +77,7 @@
|
|||||||
#define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
|
#define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define BreakIntoDebugger()
|
inline void BreakIntoDebugger(){}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__WIN32__) && defined(_MSC_VER)
|
#elif defined(__WIN32__) && defined(_MSC_VER)
|
||||||
|
Loading…
Reference in New Issue
Block a user