llvm-6502/include/Support/hash_set
Chris Lattner 8dc67168cc GCC 3.1 fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3066 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-24 22:20:00 +00:00

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