boost include fix contributed by Yannick Hold

metadata
Wenzel Jakob 2016-02-20 00:23:28 +01:00
parent 649c00ae25
commit 87efb7d6b4
1 changed files with 8 additions and 0 deletions

View File

@ -28,9 +28,17 @@
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/phoenix_stl.hpp>
#include <boost/spirit/home/qi/numeric/real.hpp>
#include <boost/version.hpp>
#if BOOST_VERSION >= 106000
#include <boost/phoenix/bind/bind_member_variable.hpp>
#include <boost/phoenix/bind/bind_member_function.hpp>
#include <boost/phoenix/statement/if.hpp>
#else
#include <boost/spirit/home/phoenix/bind/bind_member_variable.hpp>
#include <boost/spirit/home/phoenix/bind/bind_member_function.hpp>
#include <boost/spirit/home/phoenix/statement/if.hpp>
#endif
MTS_NAMESPACE_BEGIN