summaryrefslogtreecommitdiffstats
path: root/libkdcraw/libraw/internal/dcraw_fileio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdcraw/libraw/internal/dcraw_fileio.cpp')
-rw-r--r--libkdcraw/libraw/internal/dcraw_fileio.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libkdcraw/libraw/internal/dcraw_fileio.cpp b/libkdcraw/libraw/internal/dcraw_fileio.cpp
index 926009a..3dc44ec 100644
--- a/libkdcraw/libraw/internal/dcraw_fileio.cpp
+++ b/libkdcraw/libraw/internal/dcraw_fileio.cpp
@@ -133,7 +133,9 @@ void CLASS apply_profile (char *input, char *output)
FILE *fp;
unsigned size;
+#if LCMS_VERSION < 2000
cmsErrorAction (LCMS_ERROR_SHOW);
+#endif
if (strcmp (input, "embed"))
hInProfile = cmsOpenProfileFromFile (input, "r");
else if (profile_length) {