From f8f5b2b5150c15fa8d1bd0b350c40d58ea6c9761 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 16 Jul 2012 13:15:44 -0300 Subject: [PATCH] Fix problems with double main definition on Linux. --- src/she/she_alleg4.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/she/she_alleg4.cpp b/src/she/she_alleg4.cpp index eafe929c6..666a41951 100644 --- a/src/she/she_alleg4.cpp +++ b/src/she/she_alleg4.cpp @@ -45,6 +45,7 @@ System* CreateSystem() { } +#ifdef main int main(int argc, char* argv[]) { #undef main extern int main(int argc, char* argv[]); @@ -52,3 +53,4 @@ int main(int argc, char* argv[]) { } END_OF_MAIN(); +#endif