Added check for BOOST_RESULT_OF_NUM_ARGS

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@477 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-07-12 07:59:26 +00:00
parent 9e0bb51f39
commit dc2d66245f

View file

@ -31,6 +31,11 @@
#endif #endif
#ifdef MOCK_USE_BOOST_PHOENIX #ifdef MOCK_USE_BOOST_PHOENIX
# ifndef BOOST_RESULT_OF_NUM_ARGS
# define BOOST_RESULT_OF_NUM_ARGS MOCK_MAX_ARGS
# elif BOOST_PP_LESS(BOOST_RESULT_OF_NUM_ARGS, MOCK_MAX_ARGS)
# error BOOST_RESULT_OF_NUM_ARGS must be set to MOCK_MAX_ARGS or higher
# endif
# ifndef PHOENIX_LIMIT # ifndef PHOENIX_LIMIT
# define PHOENIX_LIMIT MOCK_MAX_ARGS # define PHOENIX_LIMIT MOCK_MAX_ARGS
# elif BOOST_PP_LESS(PHOENIX_LIMIT, MOCK_MAX_ARGS) # elif BOOST_PP_LESS(PHOENIX_LIMIT, MOCK_MAX_ARGS)