summaryrefslogtreecommitdiff
path: root/src/base/hashmap.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-11-08 16:11:09 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-11-08 16:11:09 -0500
commit067302968967cf74a9c9ed8fb81e1f53c6ead176 (patch)
tree5acaa083b14de2072a0c016e0c02747c7e7a1c3e /src/base/hashmap.hh
parent422ab8bec0034a6b703578ec2c92350c6382875a (diff)
downloadgem5-067302968967cf74a9c9ed8fb81e1f53c6ead176.tar.xz
Compiling: Fix for 64bit compile on Darwin/OSX 10.5.
--HG-- extra : convert_revision : 1f23f7a3952f55cca8293fb43ae15db42005aeac
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 {