mscms: Allow compilation without LCMS installed
Dmitry Timoshkov
dmitry at codeweavers.com
Mon Feb 25 19:45:07 CST 2008
Hello,
Changelog:
mscms: Allow compilation without LCMS installed.
---
dlls/mscms/transform.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/mscms/transform.c b/dlls/mscms/transform.c
index 13bc55a..564869e 100644
--- a/dlls/mscms/transform.c
+++ b/dlls/mscms/transform.c
@@ -58,6 +58,7 @@ HTRANSFORM WINAPI CreateColorTransformA( LPLOGCOLORSPACEA space, HPROFILE dest,
return CreateColorTransformW( &spaceW, dest, target, flags );
}
+#ifdef HAVE_LCMS
static DWORD from_profile( HPROFILE profile )
{
PROFILEHEADER header;
@@ -79,6 +80,7 @@ static DWORD from_profile( HPROFILE profile )
}
}
}
+#endif /* HAVE_LCMS */
/******************************************************************************
* CreateColorTransformW [MSCMS.@]
@@ -234,6 +236,7 @@ BOOL WINAPI DeleteColorTransform( HTRANSFORM transform )
return ret;
}
+#ifdef HAVE_LCMS
static DWORD from_bmformat( BMFORMAT format )
{
TRACE( "bitmap format: 0x%08x\n", format );
@@ -250,6 +253,7 @@ static DWORD from_bmformat( BMFORMAT format )
}
}
}
+#endif /* HAVE_LCMS */
/******************************************************************************
* TranslateBitmapBits [MSCMS.@]
@@ -295,6 +299,7 @@ BOOL WINAPI TranslateBitmapBits( HTRANSFORM transform, PVOID srcbits, BMFORMAT i
return ret;
}
+#ifdef HAVE_LCMS
static DWORD from_type( COLORTYPE type )
{
TRACE( "color type: 0x%08x\n", type );
@@ -314,6 +319,7 @@ static DWORD from_type( COLORTYPE type )
}
}
}
+#endif /* HAVE_LCMS */
/******************************************************************************
* TranslateColors [MSCMS.@]
--
1.5.4.1
More information about the wine-patches
mailing list