Mercurial > sdl-ios-xcode
changeset 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 | 4eb6b4be1dbc |
children | 819270e2f893 |
files | src/main/macosx/SDLMain.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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 */