summaryrefslogtreecommitdiff
path: root/boost/test/data/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/test/data/config.hpp')
-rw-r--r--boost/test/data/config.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/boost/test/data/config.hpp b/boost/test/data/config.hpp
index 7a9d03be98..e1d15b5013 100644
--- a/boost/test/data/config.hpp
+++ b/boost/test/data/config.hpp
@@ -37,6 +37,11 @@
#endif
+//! Defined when the initializer_list implementation is buggy, such as for VS2013
+#if defined(_MSC_VER) && _MSC_VER < 1900
+# define BOOST_TEST_ERRONEOUS_INIT_LIST
+#endif
+
//____________________________________________________________________________//
#define BOOST_TEST_DS_ERROR( msg ) BOOST_TEST_I_THROW( std::logic_error( msg ) )