From 586b7f18fd973cacb67173e4c3026b4822f919be Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Fri, 11 Jun 2010 21:44:22 +0000 Subject: [PATCH] Added Borland/Codegear workaround to avoid compile error when doing #include -- see #4068 [SVN r62819] --- include/boost/exception/exception.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp index 2ca2790..ebf3c1d 100644 --- a/include/boost/exception/exception.hpp +++ b/include/boost/exception/exception.hpp @@ -12,6 +12,8 @@ #pragma warning(push,1) #endif +#include + namespace boost { @@ -219,7 +221,8 @@ boost #endif ; -#if (defined(__MWERKS__) && __MWERKS__<=0x3207) || (defined(_MSC_VER) && _MSC_VER<=1310) +#if (defined(__MWERKS__) && __MWERKS__<=0x3207) || (defined(_MSC_VER) && _MSC_VER<=1310) || \ + BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x621)) public: #else private: