mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
9e0bb51f39
commit
dc2d66245f
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue