BESM6: No need for the SDL_main trick in SDL1.

This commit is contained in:
Leo Broukhis 2014-12-30 18:56:41 -08:00
parent 54ec99f95e
commit 8a5d22bd60

View file

@ -569,22 +569,6 @@ void besm6_draw_panel ()
longjmp (cpu_halt, SCPE_STOP); longjmp (cpu_halt, SCPE_STOP);
} }
#if !defined(__WIN32__) && \
!(defined(__MWERKS__) && !defined(__BEOS__)) && \
!defined(__MACOS__) && !defined(__MACOSX__) && \
!defined(__SYMBIAN32__) && !defined(QWS)
#undef main
/*
* Вот так всё непросто.
*/
int main (int argc, char *argv[])
{
extern int SDL_main (int, char**);
return SDL_main (argc, argv);
}
#endif
#endif /* SDL_MAJOR_VERSION */ #endif /* SDL_MAJOR_VERSION */
#else /* HAVE_LIBSDL */ #else /* HAVE_LIBSDL */