restore compile with <= boost 1.47

This commit is contained in:
Dane Springmeyer 2012-08-15 18:15:01 -07:00
parent d87d9fd16d
commit 2af768a69b
2 changed files with 12 additions and 2 deletions

View file

@ -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

View file

@ -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>
@ -138,4 +142,6 @@ template struct mapnik::util::wkt_generator<std::back_insert_iterator<std::strin
template struct mapnik::util::wkt_multi_generator<std::back_insert_iterator<std::string> >;
}}
}}
#endif