From 55819757be452ee2154e31646a5ecb35d189d581 Mon Sep 17 00:00:00 2001 From: John Fletcher Date: Mon, 2 Mar 2015 11:52:31 +0000 Subject: [PATCH] Allow user to over-ride BOOST_PHOENIX_FUNCTION_MAX_LAZY_LIST_LENGTH --- include/boost/phoenix/function/lazy_list.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/phoenix/function/lazy_list.hpp b/include/boost/phoenix/function/lazy_list.hpp index 19aff54..08f53fe 100644 --- a/include/boost/phoenix/function/lazy_list.hpp +++ b/include/boost/phoenix/function/lazy_list.hpp @@ -238,9 +238,11 @@ namespace boost { // Implement lazy functions for list types. cat and cons come later. ////////////////////////////////////////////////////////////////////// - namespace impl { - +#ifndef BOOST_PHOENIX_FUNCTION_MAX_LAZY_LIST_LENGTH #define BOOST_PHOENIX_FUNCTION_MAX_LAZY_LIST_LENGTH 1000 +#endif + + namespace impl { struct Head {