diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-14 23:38:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-14 23:40:46 +0300 |
commit | 015515ba20b66195840afd1c0c074f0729995a2d (patch) | |
tree | c1aaf12666cc031dd15e02b74dd0c1a5cc57a74b /src/logger.cpp | |
parent | 1f67b67fcd391d5658e46f40756720199bd0004b (diff) | |
download | manaverse-015515ba20b66195840afd1c0c074f0729995a2d.tar.gz manaverse-015515ba20b66195840afd1c0c074f0729995a2d.tar.bz2 manaverse-015515ba20b66195840afd1c0c074f0729995a2d.tar.xz manaverse-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.cpp | 7 |
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(): |