From 677c1e578d45aafc6886691eebce7ea33ead44c5 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Thu, 20 Jan 2011 18:58:57 -0600 Subject: [PATCH] windowscodecs: Disable ICNS support when building for Mac OS X 10.4 Tiger. --- dlls/windowscodecs/icnsformat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/windowscodecs/icnsformat.c b/dlls/windowscodecs/icnsformat.c index fa5a71d4033..de3871556bc 100644 --- a/dlls/windowscodecs/icnsformat.c +++ b/dlls/windowscodecs/icnsformat.c @@ -68,7 +68,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(wincodecs); -#ifdef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H +#if defined(HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H) && \ + MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_4 typedef struct IcnsEncoder { IWICBitmapEncoder IWICBitmapEncoder_iface; @@ -752,7 +753,8 @@ HRESULT IcnsEncoder_CreateInstance(IUnknown *pUnkOuter, REFIID iid, void** ppv) return ret; } -#else /* !defined(HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H) */ +#else /* !defined(HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H) || + MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4 */ HRESULT IcnsEncoder_CreateInstance(IUnknown *pUnkOuter, REFIID iid, void** ppv) {