Fixed build error with SDK < 10.7

This commit is contained in:
Sam Lantinga 2013-11-12 02:04:12 -08:00
parent 253b9ba815
commit 12961352d3
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ GetWindowStyle(SDL_Window * window)
[nswindow performSelectorOnMainThread: @selector(toggleFullScreen:) withObject:nswindow waitUntilDone:NO]; [nswindow performSelectorOnMainThread: @selector(toggleFullScreen:) withObject:nswindow waitUntilDone:NO];
return YES; return YES;
#else #else
return NO return NO;
#endif /* SDK >= 10.7 */ #endif /* SDK >= 10.7 */
} }