diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-30 23:57:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-30 23:57:20 +0300 |
commit | 595c6fb41f4678ce6f331f91fc91abba0f263b6f (patch) | |
tree | a33a155a769d8cd5ff1f0698c956b6da57b46002 /src/main.cpp | |
parent | 34e103e4d52848c1ea18bbf3a1c9268c6cc58848 (diff) | |
download | ManaVerse-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.cpp | 3 |
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); |