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.

llvm-svn: 3055
This commit is contained in:
Chris Lattner 2002-07-24 21:16:42 +00:00
parent cfbda0cced
commit f0f2da260f
3 changed files with 13 additions and 1 deletions

View File

@ -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 {

View File

@ -0,0 +1,6 @@
#if __GNUC__ == 3
#include <ext/hash_map>
using __gnu_cxx::hash_map;
#else
#include <hash_map>
#endif

View File

@ -0,0 +1,6 @@
#if __GNUC__==3
#include <ext/hash_set>
using __gnu_cxx::hash_set;
#else
#include <hash_set>
#endif