1 2 // (C) Copyright Edward Diener 2011-2015 3 // Use, modification and distribution are subject to the Boost Software License, 4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 // http://www.boost.org/LICENSE_1_0.txt). 6 7 #if !defined(BOOST_VMD_DETAIL_SETUP_HPP) 8 #define BOOST_VMD_DETAIL_SETUP_HPP 9 10 #include <boost/preprocessor/config/config.hpp> 11 12 #if defined(BOOST_VMD_MSVC) 13 #undef BOOST_VMD_MSVC 14 #endif 15 #if defined(BOOST_VMD_MSVC_V8) 16 #undef BOOST_VMD_MSVC_V8 17 #endif 18 #if BOOST_PP_VARIADICS 19 #define BOOST_VMD_MSVC BOOST_PP_VARIADICS_MSVC 20 #if BOOST_VMD_MSVC && defined(_MSC_VER) && _MSC_VER == 1400 21 #define BOOST_VMD_MSVC_V8 1 22 #else 23 #define BOOST_VMD_MSVC_V8 0 24 #endif /* BOOST_VMD_MSVC && defined(_MSC_VER) && _MSC_VER == 1400 */ 25 #if !defined(BOOST_VMD_ASSERT_DATA) 26 #if defined(NDEBUG) 27 #define BOOST_VMD_ASSERT_DATA 0 28 #else 29 #define BOOST_VMD_ASSERT_DATA 1 30 #endif /* NDEBUG */ 31 #endif /* BOOST_VMD_ASSERT_DATA */ 32 #else 33 #define BOOST_VMD_MSVC 0 34 #define BOOST_VMD_MSVC_V8 0 35 #if defined(BOOST_VMD_ASSERT_DATA) 36 #undef BOOST_VMD_ASSERT_DATA 37 #endif 38 #define BOOST_VMD_ASSERT_DATA 0 39 #endif /* BOOST_PP_VARIADICS */ 40 41 #endif /* BOOST_VMD_DETAIL_SETUP_HPP */ 42