Kaydet (Commit) a47ef216 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API

üst 545f2256
...@@ -26,6 +26,13 @@ ...@@ -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" #import "OGLTrans_Shaders.h"
......
...@@ -26,6 +26,13 @@ ...@@ -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_TransitionImpl.hxx"
#include "OGLTrans_Shaders.h" #include "OGLTrans_Shaders.h"
#ifdef QUARTZ #ifdef QUARTZ
......
...@@ -3,6 +3,13 @@ ...@@ -3,6 +3,13 @@
* aquaOpenGLView.m * 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 <Cocoa/Cocoa.h>
#include <OpenGL/OpenGL.h> #include <OpenGL/OpenGL.h>
#include <OpenGL/gl.h> #include <OpenGL/gl.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment