Commit 5fce16f41 for imagemagick.org
commit 5fce16f411cd59bbf556b4df8c9c2cb156823f78
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Sat Apr 19 21:19:50 2025 +0200
Also check if the define is set.
diff --git a/coders/dng.c b/coders/dng.c
index c1a7c4dd8..4fea9e8f1 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 MAGICK_LIBRAW_VERSION_TAIL == 202502
+#if defined(MAGICK_LIBRAW_VERSION_TAIL) && MAGICK_LIBRAW_VERSION_TAIL == 202502
const INT64 offset)
#else
const int offset)