summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-04 14:17:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-04 14:17:36 +0300
commit08c64d2dfa17faa8815c87429abe230993c7c6d7 (patch)
treede0cdd0f3b2902072a61fd0a2c3c657ac77b9450 /src/maingui.cpp
parent99042aa646d4895ed3736e7a955adcceaa7d7dbb (diff)
downloadmanaverse-08c64d2dfa17faa8815c87429abe230993c7c6d7.tar.gz
manaverse-08c64d2dfa17faa8815c87429abe230993c7c6d7.tar.bz2
manaverse-08c64d2dfa17faa8815c87429abe230993c7c6d7.tar.xz
manaverse-08c64d2dfa17faa8815c87429abe230993c7c6d7.zip
Fix wrong linkage on Android.
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r--src/maingui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index a59af6cc1..d3b7fe6c0 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -69,7 +69,11 @@
char *selfName = nullptr;
#ifndef UNITTESTS
+#ifdef ANDROID
+int main(int argc, char *argv[])
+#else
int mainGui(int argc, char *argv[])
+#endif
{
#if defined(__MINGW32__)
// load mingw crash handler. Won't fail if dll is not present.