Commit 8f073166 authored by John Selbie's avatar John Selbie

Hack for older versions of BOOST

parent ec577883
...@@ -83,6 +83,10 @@ You_Didnt_Define_DEBUG_Or_NDEBUG g_compilererror[-1]; ...@@ -83,6 +83,10 @@ You_Didnt_Define_DEBUG_Or_NDEBUG g_compilererror[-1];
#undef ASSERT_MSG #undef ASSERT_MSG
#endif #endif
// older versions of BOOST don't have BOOST_VERIFY
#ifndef BOOST_VERIFY
#define BOOST_VERIFY(expr) ((void)(expr))
#endif
#define ASSERT(expr) BOOST_ASSERT(expr) #define ASSERT(expr) BOOST_ASSERT(expr)
#define VERIFY(expr) BOOST_VERIFY(expr) #define VERIFY(expr) BOOST_VERIFY(expr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment