mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-21 01:06:46 +00:00
Move hash_* extension headers from ext/ to Support/ so that we can support
GCC 2.95, GCC 3.0.4 and GCC 3.1 all concurrently, without having to delete headers after a chackou. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3055 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b5304a625
commit
417d31c202
@ -11,7 +11,7 @@
|
||||
#define LLVM_SUPPORT_HASHEXTRAS_H
|
||||
|
||||
#include <string>
|
||||
#include <ext/hash_map>
|
||||
#include <Support/hash_map>
|
||||
|
||||
// Cannot specialize hash template from outside of the std namespace.
|
||||
namespace std {
|
||||
|
6
include/Support/hash_map
Normal file
6
include/Support/hash_map
Normal file
@ -0,0 +1,6 @@
|
||||
#if __GNUC__ == 3
|
||||
#include <ext/hash_map>
|
||||
using __gnu_cxx::hash_map;
|
||||
#else
|
||||
#include <hash_map>
|
||||
#endif
|
6
include/Support/hash_set
Normal file
6
include/Support/hash_set
Normal file
@ -0,0 +1,6 @@
|
||||
#if __GNUC__==3
|
||||
#include <ext/hash_set>
|
||||
using __gnu_cxx::hash_set;
|
||||
#else
|
||||
#include <hash_set>
|
||||
#endif
|
@ -11,7 +11,7 @@
|
||||
#define LLVM_SUPPORT_HASHEXTRAS_H
|
||||
|
||||
#include <string>
|
||||
#include <ext/hash_map>
|
||||
#include <Support/hash_map>
|
||||
|
||||
// Cannot specialize hash template from outside of the std namespace.
|
||||
namespace std {
|
||||
|
Loading…
x
Reference in New Issue
Block a user