Udate mingw makefile, restore mingw console output.

This commit is contained in:
Travis Howell 2003-08-29 12:10:53 +00:00
parent f415db4f87
commit 98a7c6ec3a
2 changed files with 11 additions and 4 deletions

View file

@ -34,6 +34,12 @@ static void saveRegistry() {
Registry::instance()->save();
}
#ifdef __MINGW32__
int PASCAL WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/, LPSTR /*lpCmdLine*/, int /*iShowCmd*/) {
return main(0, NULL);
}
#endif
int main(int /* argc */, char ** /* argv */) {
char GLDriver[1024];
if (SDL_Init(SDL_INIT_EVERYTHING) < 0)