summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-30 23:57:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-30 23:57:20 +0300
commit595c6fb41f4678ce6f331f91fc91abba0f263b6f (patch)
treea33a155a769d8cd5ff1f0698c956b6da57b46002 /src/main.cpp
parent34e103e4d52848c1ea18bbf3a1c9268c6cc58848 (diff)
downloadmanaverse-595c6fb41f4678ce6f331f91fc91abba0f263b6f.tar.gz
manaverse-595c6fb41f4678ce6f331f91fc91abba0f263b6f.tar.bz2
manaverse-595c6fb41f4678ce6f331f91fc91abba0f263b6f.tar.xz
manaverse-595c6fb41f4678ce6f331f91fc91abba0f263b6f.zip
Fix compilation for nacl.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 081a76435..246c51a92 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -29,6 +29,9 @@
#include "debug.h"
#if !defined(UNITTESTS) && !defined(ANDROID)
+#if defined __native_client__
+extern "C"
+#endif
int main(int argc, char *argv[])
{
return mainGui(argc, argv);