#include <boost/config.hpp>
#include <exception>
-#ifdef __BORLANDC__
+#ifdef BOOST_BORLANDC
# pragma warn -8026 // Functions with excep. spec. are not expanded inline
#endif
// is compiled with -ps, the compiler issues an error.
// Hence, the temporary #pragma option -pc below.
-#if defined(__BORLANDC__) && __BORLANDC__ <= 0x564
+#if defined(BOOST_BORLANDC) && BOOST_BORLANDC <= 0x564
# pragma option push -pc
#endif
{
public:
- virtual char const * what() const BOOST_NOEXCEPT_OR_NOTHROW
+ char const * what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE
{
return "tr1::bad_weak_ptr";
}
# pragma clang diagnostic pop
#endif
-#if defined(__BORLANDC__) && __BORLANDC__ <= 0x564
+#if defined(BOOST_BORLANDC) && BOOST_BORLANDC <= 0x564
# pragma option pop
#endif
} // namespace boost
-#ifdef __BORLANDC__
+#ifdef BOOST_BORLANDC
# pragma warn .8026 // Functions with excep. spec. are not expanded inline
#endif