From: Cristy Date: Sat, 25 Nov 2017 17:14:59 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-12~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ee44fcdb12ec2ce91894793e67f1da28d79b57b;p=imagemagick ... --- 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",