mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 20:01:04 +00:00
let make the main() entry point noreturns
This commit is contained in:
parent
050ce857c4
commit
c47ff7b3c6
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue