activated log on iOS
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
// 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>
|
||||||
@@ -31,6 +32,14 @@
|
|||||||
#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
|
||||||
|
|||||||
Reference in New Issue
Block a user