activated log on iOS
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
// dirty, but I get OS header includes this way
|
||||
#include "JGE.h"
|
||||
|
||||
#include <ostream>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
@@ -31,6 +32,14 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user