diff --git a/JGE/include/DebugRoutines.h b/JGE/include/DebugRoutines.h index 3ca522f60..89ecfcd77 100644 --- a/JGE/include/DebugRoutines.h +++ b/JGE/include/DebugRoutines.h @@ -4,12 +4,13 @@ // dirty, but I get OS header includes this way #include "JGE.h" +#include #include #include #include #include -#if defined (WIN32) || defined (LINUX) +#if defined (WIN32) || defined (LINUX) #ifdef _DEBUG #ifndef QT_CONFIG @@ -31,8 +32,16 @@ #endif //#ifdef _DEBUG #endif // Win32, Linux +#if defined (IOS) && defined (DEBUG) +#define DebugTrace(inString) \ +{ \ + std::cout << inString << std::endl; \ +} +#endif // IOS, DEBUG + + #ifndef DebugTrace #define DebugTrace(inString) (void (0)) #endif -#endif // DEBUGROUTINES_H \ No newline at end of file +#endif // DEBUGROUTINES_H