diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-10-03 15:21:55 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-10-03 16:58:41 +0300 |
commit | 0e9c5066a94bb75f6a8d3ea4c2bad447e3a26a1f (patch) | |
tree | 6f4de68187eff3a6d33989e9524d3a8206fa9d2b /solenv | |
parent | eabbfc9d141251dab698b2ca0ddef4d49b279cb6 (diff) |
Fix build against the MacOSX 10.6 SDK but with 10.4 as the highest used API
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/inc/premac.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <Foundation/NSObjCRuntime.h> +#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: */ |