Merge pull request #37 from Summeli/master

routing logs though qDebug in Symbian
This commit is contained in:
Henrik Rydgård committed 2013-01-25 08:45:01 -08:00
commit 54a57dc9a8
1 file changed
+8 -1
+8 -1
View File
@@ -38,7 +38,7 @@ inline void Crash() {
#endif
#ifdef ANDROID
#if defined(ANDROID)
#include <android/log.h>
@@ -54,6 +54,13 @@ inline void Crash() {
#define MessageBox(a, b, c, d) __android_log_print(ANDROID_LOG_INFO, APP_NAME, "%s %s", (b), (c));
#elif defined(__SYMBIAN32__)
#include <QDebug>
#define ILOG(...) { qDebug(__VA_ARGS__);}
#define WLOG(...) { qDebug(__VA_ARGS__);}
#define ELOG(...) { qDebug(__VA_ARGS__);}
#define FLOG(...) { qDebug(__VA_ARGS__); Crash();}
#else
// TODO: Win32 version using OutputDebugString