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]
This commit is contained in:
Daniel James
2009-06-06 13:48:57 +00:00
parent cf37052edd
commit 62a577dbec

View File

@ -306,6 +306,14 @@
# define BOOST_HASH_MAP_HEADER <hash_map>
#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: