From: glennrp Date: Tue, 8 Jan 2013 18:08:13 +0000 (+0000) Subject: Do not define LBR16* macros in png.c in Q8 and Q16 builds. X-Git-Tag: 7.0.1-0~4464 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15f0766cc205b6cfc220afec824c43e7c8ef8888;p=imagemagick Do not define LBR16* macros in png.c in Q8 and Q16 builds. --- diff --git a/coders/png.c b/coders/png.c index 51fdfc07a..fb55ecb15 100644 --- a/coders/png.c +++ b/coders/png.c @@ -501,6 +501,7 @@ } +#if MAGICKCORE_QUANTUM_DEPTH > 16 /* LBR16: Replicate top 16 bits */ #define LBR16PacketRed(pixelpacket) \ @@ -578,6 +579,7 @@ LBR16PixelRGB((pixel)); \ LBR16PixelAlpha((pixel)); \ } +#endif /* MAGICKCORE_QUANTUM_DEPTH > 16 */ /* Establish thread safety.