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

@ -343,7 +343,7 @@ namespace
MOCK_FUNCTION( fun0, 0, (std::map< int, int >()), fun0 )
}
#ifndef BOOST_NO_VARIADIC_MACROS
#ifdef MOCK_VARIADIC_MACROS
namespace
{
@ -390,4 +390,4 @@ namespace
MOCK_FUNCTOR( f_variadic, std::map< int, int >() );
}
#endif //BOOST_NO_VARIADIC_MACROS
#endif //MOCK_VARIADIC_MACROS