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