mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Gcc has hash_set and slist in non-standard location.
[SVN r32422]
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user