From 595c6fb41f4678ce6f331f91fc91abba0f263b6f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Nov 2015 23:57:20 +0300 Subject: Fix compilation for nacl. --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3-70-g09d2