diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-10-26 17:44:12 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-10-27 10:19:05 +0300 |
commit | 9d1dc25f564dada022e1b62fec834d183a1fd258 (patch) | |
tree | 6ddf4964d373d37a7f6a46feff1681d1f2d64b33 /extensions/source/macosx/spotlight/GetMetadataForFile.m | |
parent | 812d16f4b61fb2494834f0546bcb840a7b242394 (diff) |
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.
Diffstat (limited to 'extensions/source/macosx/spotlight/GetMetadataForFile.m')
-rw-r--r-- | extensions/source/macosx/spotlight/GetMetadataForFile.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extensions/source/macosx/spotlight/GetMetadataForFile.m b/extensions/source/macosx/spotlight/GetMetadataForFile.m index 78a6af57e591..e47603dc7027 100644 --- a/extensions/source/macosx/spotlight/GetMetadataForFile.m +++ b/extensions/source/macosx/spotlight/GetMetadataForFile.m @@ -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 <CoreServices/CoreServices.h> #include <Foundation/Foundation.h> |