13 | | // Allow to work around the MPL problem in BOOST_MPL_ASSERT_MSG generating |
14 | | // multiple definition linker errors for certain compilers (VC++) |
15 | | #if BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG != 0 |
| 13 | #include <boost/config.hpp> |
| 14 | |
| 15 | // Work around the MPL problem in BOOST_MPL_ASSERT_MSG generating |
| 16 | // multiple definition linker errors for certain compilers (VC++ 8). |
| 17 | // BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG can also be defined by user. |
| 18 | #if !defined(BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG) |
| 19 | #if defined(BOOST_MSVC) && BOOST_MSVC < 1500 |
| 20 | #define BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG 1 |
| 21 | #endif |
| 22 | #endif |
| 23 | |
| 24 | #if !defined(BOOST_NO_CXX11_STATIC_ASSERT) || BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG != 0 |