Define BOOST_NO_INITIALIZER_LISTS if library support isn't available.

[SVN r53524]
This commit is contained in:
Daniel James
2009-06-01 06:50:25 +00:00
parent d46a6d5ec8
commit 8894fa22f3

View File

@ -306,6 +306,14 @@
# define BOOST_HASH_MAP_HEADER <hash_map> # define BOOST_HASH_MAP_HEADER <hash_map>
#endif #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 // BOOST_HAS_ABI_HEADERS
// This macro gets set if we have headers that fix the ABI, // This macro gets set if we have headers that fix the ABI,
// and prevent ODR violations when linking to external libraries: // and prevent ODR violations when linking to external libraries: