diff --git a/dune/istl/tutorial/example.cc b/dune/istl/tutorial/example.cc index cc52ba8..46719b2 100644 --- a/dune/istl/tutorial/example.cc +++ b/dune/istl/tutorial/example.cc @@ -508,6 +508,14 @@ void test_Interface () #ifdef HAVE_BOOST_FUSION +#include +#if BOOST_VERSION < 106100 +#define HAVE_USABLE_BOOST_FUSION +#endif +#endif + +#ifdef HAVE_USABLE_BOOST_FUSION + void test_MultiTypeBlockVector_MultiTypeBlockMatrix() { //Jacobi Solver Test MultiTypeBlockMatrix_Solver::dbjac on MultiTypeBlockMatrix @@ -612,7 +620,7 @@ int main (int /*argc*/, char ** /*argv*/) test_IO(); test_Iter(); test_Interface(); -#ifdef HAVE_BOOST_FUSION +#ifdef HAVE_USABLE_BOOST_FUSION test_MultiTypeBlockVector_MultiTypeBlockMatrix(); #endif }