diff --git a/build/boost/doc/example/reference.cpp b/build/boost/doc/example/reference.cpp index f808d0f..76a4535 100644 --- a/build/boost/doc/example/reference.cpp +++ b/build/boost/doc/example/reference.cpp @@ -680,7 +680,7 @@ BOOST_AUTO_TEST_CASE( demonstrates_adding_a_custom_constraint_with_boost_phoenix //] } -#ifndef MOCK_NO_LAMBDAS +#ifdef MOCK_LAMBDAS namespace constraints_example_7 { diff --git a/test/detail/test_is_functor.cpp b/test/detail/test_is_functor.cpp index 5bbdd90..666558d 100644 --- a/test/detail/test_is_functor.cpp +++ b/test/detail/test_is_functor.cpp @@ -142,7 +142,7 @@ BOOST_AUTO_TEST_CASE( class_with_sig_is_functor ) is_functor( sig_functor() ); } -#ifndef MOCK_NO_LAMBDAS +#ifdef MOCK_LAMBDAS BOOST_AUTO_TEST_CASE( cxx11_lambda_is_functor ) { diff --git a/turtle/config.hpp b/turtle/config.hpp index 8cce9fa..c349404 100644 --- a/turtle/config.hpp +++ b/turtle/config.hpp @@ -94,7 +94,7 @@ #if !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_NO_LAMBDAS) # ifndef MOCK_NO_LAMBDAS -# define MOCK_NO_LAMBDAS +# define MOCK_LAMBDAS # endif #endif