From 360a86d6586fa450d883edbe2278349e36448c4d Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 8 May 2013 19:37:36 +0000 Subject: Attempt to fix OS X build with 10.6 SDK, was not working due to recent fullscreen bug fixes. --- intern/ghost/intern/GHOST_WindowCocoa.mm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 2be89af8ebe..5e73001ccfe 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -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 -- cgit v1.2.3