restore compile with <= boost 1.47
This commit is contained in:
parent
d87d9fd16d
commit
2af768a69b
2 changed files with 12 additions and 2 deletions
|
@ -20,12 +20,14 @@
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#include <boost/version.hpp>
|
||||
#if BOOST_VERSION >= 104700
|
||||
|
||||
// mapnik
|
||||
#include <mapnik/feature.hpp>
|
||||
#include <mapnik/json/feature_grammar.hpp>
|
||||
|
||||
// boost
|
||||
#include <boost/version.hpp>
|
||||
#include <boost/spirit/include/support_multi_pass.hpp>
|
||||
|
||||
namespace mapnik { namespace json {
|
||||
|
@ -233,3 +235,5 @@ template struct mapnik::json::feature_grammar<std::string::const_iterator,mapnik
|
|||
template struct mapnik::json::feature_grammar<boost::spirit::multi_pass<std::istreambuf_iterator<char> >,mapnik::Feature>;
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#include <boost/version.hpp>
|
||||
|
||||
#if BOOST_VERSION >= 104700
|
||||
|
||||
#include <mapnik/util/geometry_wkt_generator.hpp>
|
||||
#include <mapnik/util/vertex_iterator.hpp>
|
||||
#include <mapnik/util/container_adapter.hpp>
|
||||
|
@ -139,3 +143,5 @@ template struct mapnik::util::wkt_multi_generator<std::back_insert_iterator<std:
|
|||
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue