commit | 15f0766cc205b6cfc220afec824c43e7c8ef8888 | [log] [tgz] |
---|---|---|
author | glennrp <glennrp@git.imagemagick.org> | Tue Jan 08 18:08:13 2013 +0000 |
committer | glennrp <glennrp@git.imagemagick.org> | Tue Jan 08 18:08:13 2013 +0000 |
tree | 9ba3e8ec1e51e6bb2ae04b6fd5984731d9a400c0 | |
parent | 6aecba80fbadd166c7fa20e9e4ccb3c99a2353a5 [diff] |
Do not define LBR16* macros in png.c in Q8 and Q16 builds.
diff --git a/coders/png.c b/coders/png.c index 51fdfc0..fb55ecb 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.