diff --git a/test/fusion_interop.cpp b/test/fusion_interop.cpp index 9b91dd4..65fe195 100644 --- a/test/fusion_interop.cpp +++ b/test/fusion_interop.cpp @@ -6,10 +6,10 @@ // Test case from https://svn.boost.org/trac10/ticket/8721 -#include -#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES - #include + +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES) + #include struct emptyList {}; @@ -30,4 +30,4 @@ IntList cons( int head, IntList tail ) return IntList( boost::fusion::vector( head, tail ) ); } -#endif // #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES +#endif // #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES)