Added isDebuggerActive for non Windows and Mac platforms.

This commit is contained in:
ctt 2011-03-28 19:29:23 -07:00
parent 01234172a9
commit 4d43cae983

View File

@ -86,6 +86,7 @@
#define BreakIntoDebugger() if (IsDebuggerPresent() ) { __debugbreak(); } #define BreakIntoDebugger() if (IsDebuggerPresent() ) { __debugbreak(); }
#else #else
inline void BreakIntoDebugger(){} inline void BreakIntoDebugger(){}
inline bool isDebuggerActive() { return false; }
#endif #endif
inline void writeToDebugConsole( const std::string& text ) inline void writeToDebugConsole( const std::string& text )