summaryrefslogtreecommitdiff
path: root/apple_remote/inc/RemoteControl.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-10-03 16:13:20 +0300
committerTor Lillqvist <tml@iki.fi>2011-10-03 16:58:42 +0300
commite5c80a1f1c527196f29041290328e988cd80475b (patch)
tree2c819c183419b1900c850db887586714b6bc8f17 /apple_remote/inc/RemoteControl.h
parent0e9c5066a94bb75f6a8d3ea4c2bad447e3a26a1f (diff)
Workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API
Diffstat (limited to 'apple_remote/inc/RemoteControl.h')
-rw-r--r--apple_remote/inc/RemoteControl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apple_remote/inc/RemoteControl.h b/apple_remote/inc/RemoteControl.h
index cbf8fd856235..a39f53ba65a2 100644
--- a/apple_remote/inc/RemoteControl.h
+++ b/apple_remote/inc/RemoteControl.h
@@ -28,6 +28,16 @@
*
*****************************************************************************/
+#ifndef DID_DEFINE_SOME_FUTURE_TYPES
+#import <Foundation/NSObjCRuntime.h>
+#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050
+@class CALayer;
+@class NSViewController;
+typedef int NSColorRenderingIntent;
+#define DID_DEFINE_SOME_FUTURE_TYPES
+#endif
+#endif
+
#import <Cocoa/Cocoa.h>
// notifaction names that are being used to signal that an application wants to