fix compile of json feature_collection grammar when building against >= boost 1.52 - refs #1658 and #1716

This commit is contained in:
Dane Springmeyer 2013-02-10 07:24:35 -08:00
parent d8128a04f8
commit cf70b9959a

View file

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