diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-10-08 19:14:53 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-10-19 14:50:18 +0300 |
commit | a47ef216cc68e3101f25e31ad783b02bb981e9bf (patch) | |
tree | 06ac5ced107b94ce7f8ba0990e85c1a5c178ae91 /slideshow | |
parent | 545f22568aef3bafd583dc85f1233eeb0d7b5684 (diff) |
Workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API
Diffstat (limited to 'slideshow')
3 files changed, 21 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_Shaders.m b/slideshow/source/engine/OGLTrans/mac/OGLTrans_Shaders.m index 077114245f17..e3abc2fb8a0b 100644 --- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_Shaders.m +++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_Shaders.m @@ -26,6 +26,13 @@ * ************************************************************************/ +#import <Foundation/NSObjCRuntime.h> +#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +@class CALayer; +@class NSViewController; +typedef int NSColorRenderingIntent; +#endif + #import "OGLTrans_Shaders.h" diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm index fd7822942067..b24717652f08 100644 --- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm +++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm @@ -26,6 +26,13 @@ * ************************************************************************/ +#import <Foundation/NSObjCRuntime.h> +#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +@class CALayer; +@class NSViewController; +typedef int NSColorRenderingIntent; +#endif + #include "OGLTrans_TransitionImpl.hxx" #include "OGLTrans_Shaders.h" #ifdef QUARTZ diff --git a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m index e329eb0dea32..56c2e094fc3a 100644 --- a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m +++ b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m @@ -3,6 +3,13 @@ * aquaOpenGLView.m */ +#import <Foundation/NSObjCRuntime.h> +#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +@class CALayer; +@class NSViewController; +typedef int NSColorRenderingIntent; +#endif + #include <Cocoa/Cocoa.h> #include <OpenGL/OpenGL.h> #include <OpenGL/gl.h> |