summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorDan Sagunov <danilka.pro@gmail.com>2012-10-15 19:22:46 +0400
committerDan Sagunov <danilka.pro@gmail.com>2012-10-15 19:22:46 +0400
commit6d7abd9f75ed62e0d3a8ac9def1a85096e4dcb49 (patch)
tree078784cdc9663a7e2db76abca2c12835b1310f80 /src/main.h
parent5279cc2c5b734c4a86c591c52358cde9d63e5520 (diff)
downloadmanaplus-6d7abd9f75ed62e0d3a8ac9def1a85096e4dcb49.tar.gz
manaplus-6d7abd9f75ed62e0d3a8ac9def1a85096e4dcb49.tar.bz2
manaplus-6d7abd9f75ed62e0d3a8ac9def1a85096e4dcb49.tar.xz
manaplus-6d7abd9f75ed62e0d3a8ac9def1a85096e4dcb49.zip
Fixed Android client recognition
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index 486635340..8c29e1097 100644
--- a/src/main.h
+++ b/src/main.h
@@ -64,6 +64,8 @@
#define PACKAGE_OS "NetBSD"
#elif defined __OpenBSD__
#define PACKAGE_OS "OpenBSD"
+#elif defined(__ANDROID__) || defined(ANDROID)
+#define PACKAGE_OS "Android"
#elif defined __linux__ || defined __linux
#define PACKAGE_OS "Linux"
#elif defined __GNU__
@@ -74,8 +76,6 @@
|| defined WIN64 || defined _WIN64 || defined __WIN64__ \
|| defined __MINGW32__ || defined _MSC_VER
#define PACKAGE_OS "Windows"
-#elif defined(__ANDROID__) || defined(ANDROID)
-#define PACKAGE_OS "Android"
#else
#define PACKAGE_OS "Other"
#endif