# HG changeset patch # User Sam Lantinga # Date 1255583928 0 # Node ID d78e4e0bf553199d423522608b53421cdd4635ce # Parent 4eb6b4be1dbc9cf0dd11a6dcd0d7d60c79798e72 Fixed building on Mac OS X diff -r 4eb6b4be1dbc -r d78e4e0bf553 src/main/macosx/SDLMain.m --- a/src/main/macosx/SDLMain.m Thu Oct 15 02:52:11 2009 +0000 +++ b/src/main/macosx/SDLMain.m Thu Oct 15 05:18:48 2009 +0000 @@ -201,7 +201,7 @@ SDLMain *sdlMain; /* Ensure the application object is initialised */ - [SDLApplication sharedApplication]; + [NSApplication sharedApplication]; #ifdef SDL_USE_CPS { @@ -210,7 +210,7 @@ if (!CPSGetCurrentProcess(&PSN)) if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) if (!CPSSetFrontProcess(&PSN)) - [SDLApplication sharedApplication]; + [NSApplication sharedApplication]; } #endif /* SDL_USE_CPS */