diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 9dc48dc8..a9acbe29 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -393,7 +393,7 @@ BOOST_REGEX_DECL void BOOST_REGEX_CALL reset_stack_guard_page(); ****************************************************************************/ #if !defined(BOOST_REGEX_RECURSIVE) && !defined(BOOST_REGEX_NON_RECURSIVE) -# if defined(BOOST_REGEX_HAS_MS_STACK_GUARD) && !defined(_STLP_DEBUG) && !defined(__STL_DEBUG) && !(defined(BOOST_MSVC) && (BOOST_MSVC >= 1400)) +# if defined(BOOST_REGEX_HAS_MS_STACK_GUARD) && !defined(_STLP_DEBUG) && !defined(__STL_DEBUG) && !(defined(_MSC_VER) && (_MSC_VER >= 1400)) # define BOOST_REGEX_RECURSIVE # else # define BOOST_REGEX_NON_RECURSIVE