debug stream fixes

This commit is contained in:
Phil Nash
2011-03-29 08:05:47 +01:00
parent 7a4b215dd3
commit 84b394ec45
2 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@
#define BreakIntoDebugger() if (IsDebuggerPresent() ) { __debugbreak(); }
inline bool isDebuggerActive()
{
return IsDebuggerPresent();
return IsDebuggerPresent() != 0;
}
#else
inline void BreakIntoDebugger(){}