14 lines
542 B
Diff
14 lines
542 B
Diff
diff --git a/coders/dng.c b/coders/dng.c
|
|
index 29ef3a799..673852510 100644
|
|
--- a/coders/dng.c
|
|
+++ b/coders/dng.c
|
|
@@ -332,7 +332,7 @@ static void SetLibRawParams(const ImageInfo *image_info,Image *image,
|
|
}
|
|
|
|
static void LibRawDataError(void *data,const char *magick_unused(file),
|
|
-#if defined(MAGICK_LIBRAW_VERSION_TAIL) && MAGICK_LIBRAW_VERSION_TAIL == 202502
|
|
+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,22) || (defined(MAGICK_LIBRAW_VERSION_TAIL) && MAGICK_LIBRAW_VERSION_TAIL == 202502)
|
|
const INT64 offset)
|
|
#else
|
|
const int offset)
|