From 4bfdae4a9f7ca8b74dba4da3ba09d376d260e19f Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Wed, 8 Feb 2017 19:20:04 +0000 Subject: [PATCH] Change config so all msvc compatible compilers use the same algorithm. This *might* make msvc builds binary compatible with Intel or Clang clients. See https://svn.boost.org/trac/boost/ticket/12233. --- include/boost/regex/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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