diff --git a/JGE/include/DebugRoutines.h b/JGE/include/DebugRoutines.h index 14189928f..60459d9c5 100644 --- a/JGE/include/DebugRoutines.h +++ b/JGE/include/DebugRoutines.h @@ -43,13 +43,14 @@ std::string ToHex(T* pointer) #endif //#ifdef _DEBUG #endif // Win32, Linux -#if defined (IOS) && defined (DEBUG) +#if defined (DEBUG) +#ifndef DebugTrace #define DebugTrace(inString) \ { \ std::cout << inString << std::endl; \ } -#endif // IOS, DEBUG - +#endif //DEBUG +#endif #ifndef DebugTrace #define DebugTrace(inString) (void (0))