From 7fe330f07851b466d8cb3dce8ba856e961cdea96 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Thu, 24 Feb 2011 09:55:11 +0000 Subject: [PATCH] Made dummy BreakIntoDebugger() macro an inline function to avoid compiler warning --- internal/catch_debugger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/catch_debugger.hpp b/internal/catch_debugger.hpp index 5623e48e..86cab81f 100644 --- a/internal/catch_debugger.hpp +++ b/internal/catch_debugger.hpp @@ -77,7 +77,7 @@ #define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );} #endif #else - #define BreakIntoDebugger() + inline void BreakIntoDebugger(){} #endif #elif defined(__WIN32__) && defined(_MSC_VER)