]> granicus.if.org Git - imagemagick/commitdiff
Do not define LBR16* macros in png.c in Q8 and Q16 builds.
authorglennrp <glennrp@git.imagemagick.org>
Tue, 8 Jan 2013 18:08:13 +0000 (18:08 +0000)
committerglennrp <glennrp@git.imagemagick.org>
Tue, 8 Jan 2013 18:08:13 +0000 (18:08 +0000)
coders/png.c

index 51fdfc07abe41a07910d106422189c659078a4d5..fb55ecb15dbfbdcd0cf2a60f6c9a3b3627d17af0 100644 (file)
         }
 
 
+#if MAGICKCORE_QUANTUM_DEPTH > 16
 /* LBR16: Replicate top 16 bits */
 
 #define LBR16PacketRed(pixelpacket) \
         LBR16PixelRGB((pixel)); \
         LBR16PixelAlpha((pixel)); \
         }
+#endif /* MAGICKCORE_QUANTUM_DEPTH > 16 */
 
 /*
   Establish thread safety.