Fix hash_set and hash_map headers for GCC 4.3, from Ralf W. Grosse-Kunstleve. Fixes #1462

[SVN r47264]
This commit is contained in:
Douglas Gregor
2008-07-09 14:25:40 +00:00
parent 1e661e3941
commit 71ac171bed

View File

@ -68,6 +68,11 @@
# define BOOST_HAS_SLIST # define BOOST_HAS_SLIST
# define BOOST_HAS_HASH # define BOOST_HAS_HASH
# define BOOST_SLIST_HEADER <ext/slist> # define BOOST_SLIST_HEADER <ext/slist>
# define BOOST_HASH_SET_HEADER <ext/hash_set> # if defined(__GLIBCXX__) && __GLIBCXX__ < 20071018 // GCC <= 4.3.0
# define BOOST_HASH_MAP_HEADER <ext/hash_map> # define BOOST_HASH_SET_HEADER <ext/hash_set>
# define BOOST_HASH_MAP_HEADER <ext/hash_map>
# else
# define BOOST_HASH_SET_HEADER <backward/hash_set>
# define BOOST_HASH_MAP_HEADER <backward/hash_map>
# endif
#endif #endif