summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-14 23:38:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-14 23:40:46 +0300
commit015515ba20b66195840afd1c0c074f0729995a2d (patch)
treec1aaf12666cc031dd15e02b74dd0c1a5cc57a74b /src/logger.cpp
parent1f67b67fcd391d5658e46f40756720199bd0004b (diff)
downloadmv-015515ba20b66195840afd1c0c074f0729995a2d.tar.gz
mv-015515ba20b66195840afd1c0c074f0729995a2d.tar.bz2
mv-015515ba20b66195840afd1c0c074f0729995a2d.tar.xz
mv-015515ba20b66195840afd1c0c074f0729995a2d.zip
Add some android fixes.
Partial impliment option to enable/disable mumble support.
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 5597f90d1..ba7c7be50 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -39,6 +39,13 @@
#include <sys/time.h>
+#ifdef __ANDROID__
+#include <android/log.h>
+#define LOG_AND(x) __android_log_print(ANDROID_LOG_INFO, "manaplus", x)
+#else
+#define LOG_AND(x)
+#endif
+
#include "debug.h"
Logger::Logger():