diff --git a/base/logging.h b/base/logging.h index cd16386e81..ca97110497 100644 --- a/base/logging.h +++ b/base/logging.h @@ -38,7 +38,7 @@ inline void Crash() { #endif -#ifdef ANDROID +#if defined(ANDROID) #include @@ -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 +#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