let make the main() entry point noreturns

This commit is contained in:
Alam Ed Arias 2016-01-28 21:37:41 -05:00
parent 050ce857c4
commit c47ff7b3c6

View file

@ -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