]> granicus.if.org Git - imagemagick/commitdiff
Do not define LBR08 macros in png.c for Q8 builds.
authorglennrp <glennrp@git.imagemagick.org>
Tue, 8 Jan 2013 18:12:52 +0000 (18:12 +0000)
committerglennrp <glennrp@git.imagemagick.org>
Tue, 8 Jan 2013 18:12:52 +0000 (18:12 +0000)
coders/png.c

index fb55ecb15dbfbdcd0cf2a60f6c9a3b3627d17af0..24b1c40af7837309e6d62e2d20712a282e7c653d 100644 (file)
         }
 
 
+#if MAGICKCORE_QUANTUM_DEPTH > 8
 /* LBR08: Replicate top 8 bits */
 
 #define LBR08PacketRed(pixelpacket) \
         LBR08PixelRGB((pixel)); \
         LBR08PixelAlpha((pixel)); \
         }
+#endif /* MAGICKCORE_QUANTUM_DEPTH > 8 */
 
 
 #if MAGICKCORE_QUANTUM_DEPTH > 16