Utils/Console: Fix classic spirit include warnings
[senf.git] / senf / Utils / Phoenix.hh
index 4f1e6e0..40fcd96 100644 (file)
 #define HH_SENF_Utils_Phoenix_ 1
 
 // Custom includes
-#include <boost/spirit/phoenix/functions.hpp>
+#include <senf/config.hh>
+
+#if HAVE_BOOST_SPIRIT_INCLUDE_CLASSIC_HPP
+#  include <boost/spirit/include/phoenix1_functions.hpp>
+#else
+#  include <boost/spirit/phoenix/functions.hpp>
+#endif
 
 //#include "Phoenix.mpp"
 #include "Phoenix.ih"