fix Boost.GIL includes for BOOST_VERSION >= 1.69 (ref #4000)
This commit is contained in:
parent
24425f9ba5
commit
4698d43234
4 changed files with 54 additions and 36 deletions
6
deps/agg/src/agg_pixfmt_rgba.cpp
vendored
6
deps/agg/src/agg_pixfmt_rgba.cpp
vendored
|
@ -1,9 +1,13 @@
|
|||
|
||||
#include "agg_pixfmt_rgba.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#include <mapnik/warning_ignore.hpp>
|
||||
#include <boost/version.hpp>
|
||||
#if BOOST_VERSION >= 106900
|
||||
#include <boost/gil.hpp>
|
||||
#else
|
||||
#include <boost/gil/gil_all.hpp>
|
||||
#endif
|
||||
#include <boost/gil/extension/toolbox/hsv.hpp>
|
||||
#include <boost/gil/extension/toolbox/hsl.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
|
|
5
deps/boost/gil/extension/toolbox/hsl.hpp
vendored
5
deps/boost/gil/extension/toolbox/hsl.hpp
vendored
|
@ -16,7 +16,12 @@
|
|||
|
||||
#pragma GCC diagnostic push
|
||||
#include <mapnik/warning_ignore.hpp>
|
||||
#if BOOST_VERSION >= 106900
|
||||
#include <boost/gil.hpp>
|
||||
#else
|
||||
#include <boost/gil/gil_all.hpp>
|
||||
#endif
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
namespace boost { namespace gil {
|
||||
|
|
5
deps/boost/gil/extension/toolbox/hsv.hpp
vendored
5
deps/boost/gil/extension/toolbox/hsv.hpp
vendored
|
@ -16,7 +16,12 @@
|
|||
|
||||
#pragma GCC diagnostic push
|
||||
#include <mapnik/warning_ignore.hpp>
|
||||
#if BOOST_VERSION >= 106900
|
||||
#include <boost/gil.hpp>
|
||||
#else
|
||||
#include <boost/gil/gil_all.hpp>
|
||||
#endif
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
namespace boost { namespace gil {
|
||||
|
|
|
@ -31,7 +31,11 @@
|
|||
|
||||
#pragma GCC diagnostic push
|
||||
#include <mapnik/warning_ignore.hpp>
|
||||
#if BOOST_VERSION >= 106900
|
||||
#include <boost/gil.hpp>
|
||||
#else
|
||||
#include <boost/gil/gil_all.hpp>
|
||||
#endif
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
|
|
Loading…
Reference in a new issue