[babl] babl: fix building reference-fish without lcms2
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] babl: fix building reference-fish without lcms2
- Date: Thu, 6 Dec 2018 21:34:54 +0000 (UTC)
commit ef3a134996a430b01adbc9029223e5a2c7486d25
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Dec 6 22:34:34 2018 +0100
babl: fix building reference-fish without lcms2
babl/babl-fish-reference.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/babl/babl-fish-reference.c b/babl/babl-fish-reference.c
index 6ef1c69..81aa9b2 100644
--- a/babl/babl-fish-reference.c
+++ b/babl/babl-fish-reference.c
@@ -1017,9 +1017,12 @@ babl_fish_reference_process_double (const Babl *babl,
else if (source_kind == KIND_CMYK &&
destination_kind == KIND_CMYK)
{
- if (source_space != destination_space &&
- source_space->space.cmyk.lcms_profile &&
- destination_space->space.cmyk.lcms_profile)
+ if (source_space != destination_space
+#if HAVE_LCMS
+ && source_space->space.cmyk.lcms_profile
+ && destination_space->space.cmyk.lcms_profile
+#endif
+ )
{
#if HAVE_LCMS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]