windowscodecs: Disable ICNS support when building for Mac OS X 10.4 Tiger.

This commit is contained in:
Ken Thomases 2011-01-20 18:58:57 -06:00 committed by Alexandre Julliard
parent 9c66f68f55
commit 677c1e578d

View File

@ -68,7 +68,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(wincodecs); 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 { typedef struct IcnsEncoder {
IWICBitmapEncoder IWICBitmapEncoder_iface; IWICBitmapEncoder IWICBitmapEncoder_iface;
@ -752,7 +753,8 @@ HRESULT IcnsEncoder_CreateInstance(IUnknown *pUnkOuter, REFIID iid, void** ppv)
return ret; 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) HRESULT IcnsEncoder_CreateInstance(IUnknown *pUnkOuter, REFIID iid, void** ppv)
{ {