Added Borland/Codegear workaround to avoid compile error when doing #include <boost/exception/exception.hpp> -- see #4068

[SVN r62819]
This commit is contained in:
Niels Dekker
2010-06-11 21:44:22 +00:00
committed by Peter Dimov
parent 7f0a0775ba
commit 586b7f18fd

View File

@ -12,6 +12,8 @@
#pragma warning(push,1)
#endif
#include <boost/detail/workaround.hpp>
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: