Made dummy BreakIntoDebugger() macro an inline function to avoid compiler warning

This commit is contained in:
Phil Nash 2011-02-24 09:55:11 +00:00
parent a691e69dae
commit 7fe330f078

View File

@ -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)