|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84990 - trunk/boost/gil/extension/io
From: chhenning_at_[hidden]
Date: 2013-07-09 09:50:24
Author: chhenning
Date: 2013-07-09 09:50:24 EDT (Tue, 09 Jul 2013)
New Revision: 84990
URL: http://svn.boost.org/trac/boost/changeset/84990
Log:
Set compiler symbol indicating an older libpng version.
Text files modified:
trunk/boost/gil/extension/io/png_tags.hpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Modified: trunk/boost/gil/extension/io/png_tags.hpp
==============================================================================
--- trunk/boost/gil/extension/io/png_tags.hpp Tue Jul 9 09:43:44 2013 (r84989)
+++ trunk/boost/gil/extension/io/png_tags.hpp 2013-07-09 09:50:24 EDT (Tue, 09 Jul 2013) (r84990)
@@ -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 <string>
#include <vector>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk