mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3066 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
678 B
C++
25 lines
678 B
C++
//===-- Support/hash_set - "Portable" wrapper around hash_set ---*- C++ -*-===//
|
|
//
|
|
// This file provides a wrapper around the mysterious <hash_set> header file
|
|
// that seems to move around between GCC releases into and out of namespaces at
|
|
// will. #including this header will cause hash_set to be available in the
|
|
// global namespace.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef SUPPORT_HASHSET_H
|
|
#define SUPPORT_HASHSET_H
|
|
#if __GNUC__==3
|
|
#include <ext/hash_set>
|
|
#define HASH_NAMESPACE __gnu_cxx
|
|
#else
|
|
#include <hash_set>
|
|
#define HASH_NAMESPACE std
|
|
#endif
|
|
|
|
using HASH_NAMESPACE::hash_set;
|
|
using HASH_NAMESPACE::hash;
|
|
|
|
#endif
|
|
|