activated log on iOS

This commit is contained in:
Xawotihs
2010-12-04 14:15:29 +00:00
parent 142d6b4609
commit fb75d31887
+11 -2
View File
@@ -4,12 +4,13 @@
// dirty, but I get OS header includes this way // dirty, but I get OS header includes this way
#include "JGE.h" #include "JGE.h"
#include <ostream>
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <string> #include <string>
#include <sstream> #include <sstream>
#if defined (WIN32) || defined (LINUX) #if defined (WIN32) || defined (LINUX)
#ifdef _DEBUG #ifdef _DEBUG
#ifndef QT_CONFIG #ifndef QT_CONFIG
@@ -31,8 +32,16 @@
#endif //#ifdef _DEBUG #endif //#ifdef _DEBUG
#endif // Win32, Linux #endif // Win32, Linux
#if defined (IOS) && defined (DEBUG)
#define DebugTrace(inString) \
{ \
std::cout << inString << std::endl; \
}
#endif // IOS, DEBUG
#ifndef DebugTrace #ifndef DebugTrace
#define DebugTrace(inString) (void (0)) #define DebugTrace(inString) (void (0))
#endif #endif
#endif // DEBUGROUTINES_H #endif // DEBUGROUTINES_H