From 0e9c5066a94bb75f6a8d3ea4c2bad447e3a26a1f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 3 Oct 2011 15:21:55 +0300 Subject: [PATCH] Fix build against the MacOSX 10.6 SDK but with 10.4 as the highest used API --- solenv/inc/premac.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/solenv/inc/premac.h b/solenv/inc/premac.h index f6e37475795f..c60c42cd7749 100644 --- a/solenv/inc/premac.h +++ b/solenv/inc/premac.h @@ -47,4 +47,11 @@ #define StringPtr MacOSStringPtr #define TimeValue MacOSTimeValue +#import +#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +@class CALayer; +@class NSViewController; +typedef int NSColorRenderingIntent; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */