From dfe670023aa51140ccdc652eaaf56d48c2334fc8 Mon Sep 17 00:00:00 2001 From: John Fletcher Date: Mon, 3 Feb 2014 20:50:35 +0000 Subject: [PATCH] include/boost/phoenix/core/limits.hpp Conditional definition of PHOENIX_LIMIT --- include/boost/phoenix/core/limits.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/phoenix/core/limits.hpp b/include/boost/phoenix/core/limits.hpp index 7ecacb1..5571ec6 100644 --- a/include/boost/phoenix/core/limits.hpp +++ b/include/boost/phoenix/core/limits.hpp @@ -27,7 +27,9 @@ #define BOOST_PHOENIX_LIMIT BOOST_PROTO_MAX_ARITY #endif -//#define PHOENIX_LIMIT BOOST_PHOENIX_LIMIT +#if !defined(PHOENIX_LIMIT) +#define PHOENIX_LIMIT BOOST_PHOENIX_LIMIT +#endif #define BOOST_PHOENIX_LIMIT_STR BOOST_PP_STRINGIZE(BOOST_PHOENIX_PP_ROUND_UP(BOOST_PHOENIX_LIMIT))