From 6b95ac002ed644245be122dba5669211e68d4052 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 11 Dec 2003 11:50:57 +0000 Subject: [PATCH] Suppressed __try blocks in MWCW. [SVN r21221] --- include/boost/regex/config.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index e3b99742..8ddba1c1 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -58,6 +58,9 @@ # ifndef BOOST_NO_STD_LOCALE # include # endif +# ifdef BOOST_REGEX_MATCH_EXTRA +# include +# endif #else // // C build, @@ -395,7 +398,10 @@ public: ****************************************************************************/ #if !defined(BOOST_REGEX_NO_W32) && !defined(BOOST_REGEX_V3) -# if(defined(_WIN32) || defined(_WIN64) || defined(_WINCE)) && !defined(__GNUC__) && !(__BORLANDC__ >= 0x600) +# if(defined(_WIN32) || defined(_WIN64) || defined(_WINCE)) \ + && !defined(__GNUC__) \ + && !(defined(__BORLANDC__) && (__BORLANDC__ >= 0x600)) \ + && !(defined(__MWERKS__) && (__MWERKS__ <= 0x3003)) # define BOOST_REGEX_HAS_MS_STACK_GUARD # endif #elif defined(BOOST_REGEX_HAS_MS_STACK_GUARD)