From 0ee44fcdb12ec2ce91894793e67f1da28d79b57b Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 25 Nov 2017 12:14:59 -0500 Subject: [PATCH] ... --- coders/dng.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coders/dng.c b/coders/dng.c index 226fae9c7..aa0e86d16 100644 --- a/coders/dng.c +++ b/coders/dng.c @@ -171,9 +171,11 @@ static void SetDNGProperties(Image *image,const libraw_data_t *raw_info, exception); (void) SetImageProperty(image,"dng:camera.model",raw_info->idata.model, exception); +#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,18) if (*raw_info->shootinginfo.BodySerial != '\0') (void) SetImageProperty(image,"dng:camera.body.serial", raw_info->shootinginfo.BodySerial,exception); +#endif if (raw_info->idata.dng_version != 0) { (void) FormatLocaleString(property,MagickPathExtent,"%d.%d.%d.%d", -- 2.50.1