Small change to avoid problems when using Boost >= 1.38.0

This commit is contained in:
Bastian M. Wojek
2009-11-23 11:58:27 +00:00
parent c7f3eb3be1
commit 72f858b89a
9 changed files with 43 additions and 12 deletions

View File

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