Added MOCK_NO_VARIADIC_MACROS to deactivate variadic macros support

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@668 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-06-04 22:02:09 +00:00
parent 8d08012cdf
commit f97fb87f81
9 changed files with 58 additions and 36 deletions

View file

@ -9,7 +9,7 @@
#include <turtle/constraint.hpp>
#include <boost/test/auto_unit_test.hpp>
#ifndef BOOST_NO_VARIADIC_MACROS
#ifdef MOCK_VARIADIC_MACROS
namespace
{
@ -25,4 +25,4 @@ BOOST_AUTO_TEST_CASE( mock_constraint_is_supported_by_compilers_with_variadic_ma
BOOST_CHECK( constraint_2( 0, 0 ).c_( 0 ) );
}
#endif // BOOST_NO_VARIADIC_MACROS
#endif // MOCK_VARIADIC_MACROS