Ticket #4068: exception_for Borland.patch

File exception_for Borland.patch, 613 bytes (added by niels_dekker, 13 years ago)

private/public-patch for Borland/CodeGear, tested on CodeGear 2010. Update: now using BOOST_WORKAROUND.

  • exception.hpp

     
    1212#pragma warning(push,1)
    1313#endif
    1414
     15#include <boost/detail/workaround.hpp>
     16
    1517namespace
    1618boost
    1719    {
     
    219221#endif
    220222            ;
    221223
    222 #if (defined(__MWERKS__) && __MWERKS__<=0x3207) || (defined(_MSC_VER) && _MSC_VER<=1310)
     224#if (defined(__MWERKS__) && __MWERKS__<=0x3207) || (defined(_MSC_VER) && _MSC_VER<=1310) || \
     225  BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x621))
    223226        public:
    224227#else
    225228        private: