From fe1e686ad56222fc19975654da27839b6607d9ad Mon Sep 17 00:00:00 2001 From: Christian Henning Date: Tue, 9 Jul 2013 13:50:24 +0000 Subject: [PATCH] Set compiler symbol indicating an older libpng version. [SVN r84990] --- include/boost/gil/extension/io/png_tags.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/gil/extension/io/png_tags.hpp b/include/boost/gil/extension/io/png_tags.hpp index 2b003b67b..d6eac99d3 100644 --- a/include/boost/gil/extension/io/png_tags.hpp +++ b/include/boost/gil/extension/io/png_tags.hpp @@ -41,6 +41,11 @@ } #endif +#if PNG_LIBPNG_VER_MAJOR == 1 +#if PNG_LIBPNG_VER_MINOR <= 4 +#define BOOST_GIL_IO_PNG_1_4_OR_LOWER +#endif // PNG_LIBPNG_VER_MAJOR == 1 +#endif // PNG_LIBPNG_VER_MINOR <= 4 #include #include