summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);