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

Copy-pasted workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API

Yeah, should really factor out this snippet into some header file. It
is already in premac.h, but I think premac.h can't be included as such
in all the places where this copy-pasted snippet now is. Need to
experiment.
üst 812d16f4
...@@ -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 <CoreFoundation/CoreFoundation.h> #include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h> #include <CoreServices/CoreServices.h>
#include <Foundation/Foundation.h> #include <Foundation/Foundation.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
#import "OOoContentDataParser.h" #import "OOoContentDataParser.h"
@implementation OOoContentDataParser @implementation OOoContentDataParser
......
...@@ -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 "OOoMetaDataParser.h" #import "OOoMetaDataParser.h"
static NSSet *singleValueXMLElements; static NSSet *singleValueXMLElements;
......
...@@ -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 "OOoSpotlightImporter.h" #import "OOoSpotlightImporter.h"
#import "OOoMetaDataParser.h" #import "OOoMetaDataParser.h"
#import "OOoContentDataParser.h" #import "OOoContentDataParser.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