#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 {
+namespace HASH_NAMESPACE {
-template <> struct hash<string> {
- size_t operator()(string const &str) const {
+template <> struct hash<std::string> {
+ size_t operator()(std::string const &str) const {
return hash<char const *>()(str.c_str());
}
};