summaryrefslogtreecommitdiff
path: root/boost/iostreams/detail/select_by_size.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/detail/select_by_size.hpp')
-rw-r--r--boost/iostreams/detail/select_by_size.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/iostreams/detail/select_by_size.hpp b/boost/iostreams/detail/select_by_size.hpp
index 72934e5a92..e08ca3458b 100644
--- a/boost/iostreams/detail/select_by_size.hpp
+++ b/boost/iostreams/detail/select_by_size.hpp
@@ -146,7 +146,8 @@ template<unsigned Size> struct select_by_size;
//----------Specializations of SELECT_BY_SIZE (outside main inclued guards)---//
-#if BOOST_SELECT_BY_SIZE_MAX_CASE > SELECT_BY_SIZE_MAX_SPECIALIZED
+#if defined(BOOST_SELECT_BY_SIZE_MAX_CASE) && \
+ BOOST_SELECT_BY_SIZE_MAX_CASE > SELECT_BY_SIZE_MAX_SPECIALIZED
#define BOOST_PP_LOCAL_MACRO(n) SELECT_BY_SIZE_SPEC(n)
#define BOOST_PP_LOCAL_LIMITS \