Gcc has hash_set and slist in non-standard location.

[SVN r32422]
This commit is contained in:
John Maddock
2006-01-26 17:32:13 +00:00
parent 7fdcdabd3e
commit 3d33b40f9a
2 changed files with 11 additions and 0 deletions

View File

@ -10,8 +10,14 @@
// DESCRIPTION: The C++ implementation provides the (SGI) hash_set
// or hash_map classes.
#if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0
# define BOOST_STD_EXTENSION_NAMESPACE __gnu_cxx
#include <ext/hash_set>
#include <ext/hash_map>
#else
#include <hash_set>
#include <hash_map>
#endif
#ifndef BOOST_STD_EXTENSION_NAMESPACE
#define BOOST_STD_EXTENSION_NAMESPACE std

View File

@ -9,7 +9,12 @@
// TITLE: <slist>
// DESCRIPTION: The C++ implementation provides the (SGI) slist class.
#if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0
# define BOOST_STD_EXTENSION_NAMESPACE __gnu_cxx
#include <ext/slist>
#else
#include <slist>
#endif
#ifndef BOOST_STD_EXTENSION_NAMESPACE
#define BOOST_STD_EXTENSION_NAMESPACE std