Small change to avoid problems when using Boost >= 1.38.0
This commit is contained in:
@ -34,8 +34,15 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <boost/spirit/tree/ast.hpp>
|
||||
using namespace boost::spirit;
|
||||
#include <boost/version.hpp>
|
||||
|
||||
#if BOOST_VERSION >= 103800
|
||||
# include <boost/spirit/include/classic_ast.hpp>
|
||||
using namespace BOOST_SPIRIT_CLASSIC_NS;
|
||||
#else
|
||||
# include <boost/spirit/tree/ast.hpp>
|
||||
using namespace boost::spirit;
|
||||
#endif
|
||||
|
||||
#include <TString.h>
|
||||
|
||||
|
Reference in New Issue
Block a user