From: glennrp Date: Tue, 8 Jan 2013 18:12:52 +0000 (+0000) Subject: Do not define LBR08 macros in png.c for Q8 builds. X-Git-Tag: 7.0.1-0~4463 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1145899ed6265fc5762cdf8a7be237d12622e740;p=imagemagick Do not define LBR08 macros in png.c for Q8 builds. --- diff --git a/coders/png.c b/coders/png.c index fb55ecb15..24b1c40af 100644 --- a/coders/png.c +++ b/coders/png.c @@ -422,6 +422,7 @@ } +#if MAGICKCORE_QUANTUM_DEPTH > 8 /* LBR08: Replicate top 8 bits */ #define LBR08PacketRed(pixelpacket) \ @@ -499,6 +500,7 @@ LBR08PixelRGB((pixel)); \ LBR08PixelAlpha((pixel)); \ } +#endif /* MAGICKCORE_QUANTUM_DEPTH > 8 */ #if MAGICKCORE_QUANTUM_DEPTH > 16