Skip to content
Browse files

fix compile of json feature_collection grammar when building against …

…>= boost 1.52 - refs #1658 and #1716
  • Loading branch information...
1 parent d8128a0 commit cf70b9959a45b9ab6af4a34824a5e4e80ce1d05c @springmeyer springmeyer committed Feb 10, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/json/feature_collection_parser.cpp
View
7 src/json/feature_collection_parser.cpp
@@ -20,12 +20,17 @@
*
*****************************************************************************/
+// TODO https://github.com/mapnik/mapnik/issues/1658
+#include <boost/version.hpp>
+#if BOOST_VERSION >= 105200
+#define BOOST_SPIRIT_USE_PHOENIX_V3
+#endif
+
// mapnik
#include <mapnik/json/feature_collection_parser.hpp>
#include <mapnik/json/feature_collection_grammar.hpp>
// boost
-#include <boost/version.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/support_multi_pass.hpp>

0 comments on commit cf70b99

Please sign in to comment.
Something went wrong with that request. Please try again.