Skip to content
Snippets Groups Projects
Commit c47ff7b3 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

let make the main() entry point noreturns

parent 050ce857
No related branches found
No related tags found
No related merge requests found
......@@ -141,8 +141,10 @@ void XBoxStartup()
myargv = NULL;
#else
#ifdef FORCESDLMAIN
FUNCNORETURN
int SDL_main(int argc, char **argv)
#else
FUNCNORETURN
int main(int argc, char **argv)
#endif
{
......@@ -240,8 +242,8 @@ int main(int argc, char **argv)
#endif
// return to OS
//#ifndef __GNUC__
#ifndef __GNUC__
return 0;
//#endif
#endif
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment