From 8894fa22f3dab14c3f987ed270057eb93c0ace55 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Mon, 1 Jun 2009 06:50:25 +0000 Subject: [PATCH] Define BOOST_NO_INITIALIZER_LISTS if library support isn't available. [SVN r53524] --- 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..b5857c27 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 is 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: