]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 25 Nov 2017 17:14:59 +0000 (12:14 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 25 Nov 2017 17:14:59 +0000 (12:14 -0500)
coders/dng.c

index 226fae9c73711cd291e1964e87f11b36218bfdac..aa0e86d1680808420ffc68f39909be44c4e59883 100644 (file)
@@ -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",