From 15f0766cc205b6cfc220afec824c43e7c8ef8888 Mon Sep 17 00:00:00 2001 From: glennrp Date: Tue, 8 Jan 2013 18:08:13 +0000 Subject: [PATCH] Do not define LBR16* macros in png.c in Q8 and Q16 builds. --- coders/png.c | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.40.0