1
0
Fork 0
forked from len0rd/rockbox

Make the SDL simulator a console app on cygwin, and circumvent SDL_main. Debug output finally appears on the console again.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11309 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-10-22 12:41:13 +00:00
parent 9f29086b2c
commit 43528c770e
2 changed files with 6 additions and 1 deletions

View file

@ -187,6 +187,11 @@ int sim_app_main(void *param)
return 0;
}
#if defined(WIN32) && defined(main)
/* Don't use SDL_main on windows -> no more stdio redirection */
#undef main
#endif
int main(int argc, char *argv[])
{
if (argc >= 1) {