Mercurial > sdl-ios-xcode
diff src/main/macosx/SDLMain.m @ 4338:d78e4e0bf553 SDL-1.2
Fixed building on Mac OS X
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 15 Oct 2009 05:18:48 +0000 |
parents | 1496aa09e41e |
children |
line wrap: on
line diff
--- 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 */