|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53524 - trunk/boost/config
From: daniel_james_at_[hidden]
Date: 2009-06-01 02:50:26
Author: danieljames
Date: 2009-06-01 02:50:25 EDT (Mon, 01 Jun 2009)
New Revision: 53524
URL: http://svn.boost.org/trac/boost/changeset/53524
Log:
Define BOOST_NO_INITIALIZER_LISTS if library support isn't available.
Text files modified:
trunk/boost/config/suffix.hpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/boost/config/suffix.hpp
==============================================================================
--- trunk/boost/config/suffix.hpp (original)
+++ trunk/boost/config/suffix.hpp 2009-06-01 02:50:25 EDT (Mon, 01 Jun 2009)
@@ -306,6 +306,14 @@
# define BOOST_HASH_MAP_HEADER <hash_map>
#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:
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk