Attempt to fix OS X build with 10.6 SDK, was not working due to recent fullscreen bug fixes.

This commit is contained in:
Brecht Van Lommel 2013-05-08 19:37:36 +00:00
parent 872a8ed1bf
commit 360a86d658

@ -44,6 +44,13 @@
#include "GHOST_SystemCocoa.h"
#include "GHOST_Debug.h"
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
/* Lion style fullscreen support when building with the 10.6 SDK */
enum {
NSWindowCollectionBehaviorFullScreenPrimary = 1 << 7,
NSFullScreenWindowMask = 1 << 14
};
#endif
#pragma mark Cocoa window delegate object
/* live resize ugly patch