mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 03:14:34 +01:00
Merge pull request #37 from Summeli/master
routing logs though qDebug in Symbian
This commit is contained in:
commit
54a57dc9a8
1 file changed
+8
-1
+8
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user