From 2af768a69b993f6453b5be40e97d8b9aaad39cc0 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 15 Aug 2012 18:15:01 -0700 Subject: [PATCH] restore compile with <= boost 1.47 --- src/json/feature_grammar.cpp | 6 +++++- src/wkt/wkt_generator.cpp | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/json/feature_grammar.cpp b/src/json/feature_grammar.cpp index 53c35ea0a..6027d0e85 100644 --- a/src/json/feature_grammar.cpp +++ b/src/json/feature_grammar.cpp @@ -20,12 +20,14 @@ * *****************************************************************************/ +#include +#if BOOST_VERSION >= 104700 + // mapnik #include #include // boost -#include #include namespace mapnik { namespace json { @@ -233,3 +235,5 @@ template struct mapnik::json::feature_grammar >,mapnik::Feature>; }} + +#endif diff --git a/src/wkt/wkt_generator.cpp b/src/wkt/wkt_generator.cpp index 68decfc9e..0a282d730 100644 --- a/src/wkt/wkt_generator.cpp +++ b/src/wkt/wkt_generator.cpp @@ -20,6 +20,10 @@ * *****************************************************************************/ +#include + +#if BOOST_VERSION >= 104700 + #include #include #include @@ -138,4 +142,6 @@ template struct mapnik::util::wkt_generator >; -}} \ No newline at end of file +}} + +#endif \ No newline at end of file