From 15085e5bb1e468dd1f9b5e72fcbe6efd109ca092 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 4 Apr 2007 10:12:34 +0000 Subject: [PATCH] Fixes to bug report 1693867. [SVN r37355] --- include/boost/regex/v4/fileiter.hpp | 2 ++ include/boost/regex/v4/regex_workaround.hpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/regex/v4/fileiter.hpp b/include/boost/regex/v4/fileiter.hpp index 21a785ea..0c600d72 100644 --- a/include/boost/regex/v4/fileiter.hpp +++ b/include/boost/regex/v4/fileiter.hpp @@ -46,6 +46,8 @@ #if defined(BOOST_REGEX_FI_WIN32_DIR) +#include + namespace boost{ namespace re_detail{ diff --git a/include/boost/regex/v4/regex_workaround.hpp b/include/boost/regex/v4/regex_workaround.hpp index 3659c072..3b5a46f4 100644 --- a/include/boost/regex/v4/regex_workaround.hpp +++ b/include/boost/regex/v4/regex_workaround.hpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -128,7 +129,7 @@ inline void pointer_construct(T* p, const T& t) #ifdef __cplusplus namespace boost{ namespace re_detail{ -#if BOOST_WORKAROUND(BOOST_MSVC,>=1400) && defined(_CPPLIB_VER) && !(defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) +#if BOOST_WORKAROUND(BOOST_MSVC,>=1400) && defined(_CPPLIB_VER) && defined(BOOST_DINKUMWARE_STDLIB) && !(defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) // // MSVC 8 will either emit warnings or else refuse to compile // code that makes perfectly legitimate use of std::copy, when