Ticket #8278: assert.patch
File assert.patch, 605 bytes (added by , 10 years ago) |
---|
-
boost/assert.hpp
28 28 29 29 #undef BOOST_ASSERT 30 30 31 #if defined(BOOST_DISABLE_ASSERTS) || defined(NDEBUG)31 #if defined(BOOST_DISABLE_ASSERTS) 32 32 33 33 # define BOOST_ASSERT(expr) ((void)0) 34 34 … … 57 57 58 58 # undef BOOST_ASSERT_MSG 59 59 60 #if defined(BOOST_DISABLE_ASSERTS) || defined(NDEBUG)60 #if defined(BOOST_DISABLE_ASSERTS) || ( !defined(BOOST_ENABLE_ASSERT_HANDLER) && defined(NDEBUG) ) 61 61 62 62 #define BOOST_ASSERT_MSG(expr, msg) ((void)0) 63 63