From 533c017e93b40cad3b41c229f47eea2d1363040b Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 1 Jan 2017 13:23:38 +0000 Subject: [PATCH] sdlayer: Explicitly name our entry point SDL_main on Wii. git-svn-id: https://svn.eduke32.com/eduke32@5981 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/sdlayer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/build/src/sdlayer.c b/polymer/eduke32/build/src/sdlayer.c index ad457a680..bd89a4056 100644 --- a/polymer/eduke32/build/src/sdlayer.c +++ b/polymer/eduke32/build/src/sdlayer.c @@ -420,6 +420,8 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC extern "C" int eduke32_android_main(int argc, char const *argv[]); # endif int eduke32_android_main(int argc, char const *argv[]) +#elif defined GEKKO +int SDL_main(int argc, char *argv[]) #else int main(int argc, char *argv[]) #endif