From 62a577dbec2218e1ee25fdb8ba7bf7bd0ce0cdd5 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 6 Jun 2009 13:48:57 +0000 Subject: [PATCH] Fix BOOST_NO_INITIALIZER_LISTS when the compiler supports them, but the standard library doesn't. Merged revisions 53524,53526 via svnmerge from https://svn.boost.org/svn/boost/trunk ........ r53524 | danieljames | 2009-06-01 07:50:25 +0100 (Mon, 01 Jun 2009) | 1 line Define BOOST_NO_INITIALIZER_LISTS if library support isn't available. ........ r53526 | danieljames | 2009-06-01 07:52:36 +0100 (Mon, 01 Jun 2009) | 1 line Fix typo. ........ [SVN r53685] --- include/boost/config/suffix.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index ca803306..fa449869 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -306,6 +306,14 @@ # define BOOST_HASH_MAP_HEADER #endif +// +// Set BOOST_NO_INITIALIZER_LISTS if there is no library support. +// + +#if defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) && !defined(BOOST_NO_INITIALIZER_LISTS) +# define BOOST_NO_INITIALIZER_LISTS +#endif + // BOOST_HAS_ABI_HEADERS // This macro gets set if we have headers that fix the ABI, // and prevent ODR violations when linking to external libraries: