summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
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():