Please be quick to suspect this commit if the build should break on Windows/MSVC. (Again, sorry for the large commit, but I didnt want to flood the commit log with my git-style tiny commits.) git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@577 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
21 lines
458 B
C++
21 lines
458 B
C++
|
|
#ifndef AI_BOOST_STATIC_ASSERT_INCLUDED
|
|
#define AI_BOOST_STATIC_ASSERT_INCLUDED
|
|
|
|
#ifndef BOOST_STATIC_ASSERT
|
|
|
|
namespace boost {
|
|
namespace detail {
|
|
|
|
template <bool b> class static_assertion_failure;
|
|
template <> class static_assertion_failure<true> {};
|
|
}
|
|
}
|
|
|
|
|
|
#define BOOST_STATIC_ASSERT(eval) \
|
|
{boost::detail::static_assertion_failure<(eval)> assert_dummy;assert_dummy;}
|
|
|
|
#endif
|
|
#endif // !! AI_BOOST_STATIC_ASSERT_INCLUDED
|