Skip to content
Permalink
Browse files

Fixed building on Mac OS X

  • Loading branch information
slouken committed Oct 15, 2009
1 parent c8b66a2 commit e3b0bc6ceebdf08ce8e96e6c0309a071e30d5661
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/macosx/SDLMain.m
@@ -201,7 +201,7 @@ static void CustomApplicationMain (int argc, char **argv)
SDLMain *sdlMain;

/* Ensure the application object is initialised */
[SDLApplication sharedApplication];
[NSApplication sharedApplication];

#ifdef SDL_USE_CPS
{
@@ -210,7 +210,7 @@ static void CustomApplicationMain (int argc, char **argv)
if (!CPSGetCurrentProcess(&PSN))
if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103))
if (!CPSSetFrontProcess(&PSN))
[SDLApplication sharedApplication];
[NSApplication sharedApplication];
}
#endif /* SDL_USE_CPS */

0 comments on commit e3b0bc6

Please sign in to comment.