summaryrefslogtreecommitdiff
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
parent34e103e4d52848c1ea18bbf3a1c9268c6cc58848 (diff)
downloadplus-595c6fb41f4678ce6f331f91fc91abba0f263b6f.tar.gz
plus-595c6fb41f4678ce6f331f91fc91abba0f263b6f.tar.bz2
plus-595c6fb41f4678ce6f331f91fc91abba0f263b6f.tar.xz
plus-595c6fb41f4678ce6f331f91fc91abba0f263b6f.zip
Fix compilation for nacl.
-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);