summaryrefslogtreecommitdiff
path: root/src/base/hashmap.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/hashmap.hh')
-rw-r--r--src/base/hashmap.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/hashmap.hh b/src/base/hashmap.hh
index b78cc02e8..179191c7c 100644
--- a/src/base/hashmap.hh
+++ b/src/base/hashmap.hh
@@ -59,7 +59,7 @@ namespace m5 {
//
namespace __hash_namespace {
-#if !defined(__LP64__) && !defined(__alpha__) && !defined(__SUNPRO_CC)
+#if (__APPLE__) || !defined(__LP64__) && !defined(__alpha__) && !defined(__SUNPRO_CC)
template<>
struct hash<uint64_t> {
size_t operator()(uint64_t r) const {