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).
7 #if !defined(BOOST_VMD_DETAIL_SETUP_HPP)
8 #define BOOST_VMD_DETAIL_SETUP_HPP
10 #include <boost/preprocessor/config/config.hpp>
12 #if defined(BOOST_VMD_MSVC)
15 #if defined(BOOST_VMD_MSVC_V8)
16 #undef BOOST_VMD_MSVC_V8
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
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)
27 #define BOOST_VMD_ASSERT_DATA 0
29 #define BOOST_VMD_ASSERT_DATA 1
31 #endif /* BOOST_VMD_ASSERT_DATA */
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
38 #define BOOST_VMD_ASSERT_DATA 0
39 #endif /* BOOST_PP_VARIADICS */
41 #endif /* BOOST_VMD_DETAIL_SETUP_HPP */