summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-11-08 23:42:44 -0800
committerGabe Black <gblack@eecs.umich.edu>2007-11-08 23:42:44 -0800
commit7c0076d5f3492d181b5b60fa13ac2c4f80821916 (patch)
tree5091963e135bc482b35dcfa3720a3370f700fc05
parent46505821ec00cead429af990358d2a4dd28e87b6 (diff)
downloadgem5-7c0076d5f3492d181b5b60fa13ac2c4f80821916.tar.xz
Make non Apple compilation work again. Ali may have to refix this.
--HG-- extra : convert_revision : 0f9455643eec14034314908ee26a6d693c54a864
-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 179191c7c..f8d799780 100644
--- a/src/base/hashmap.hh
+++ b/src/base/hashmap.hh
@@ -59,7 +59,7 @@ namespace m5 {
//
namespace __hash_namespace {
-#if (__APPLE__) || !defined(__LP64__) && !defined(__alpha__) && !defined(__SUNPRO_CC)
+#if defined(__APPLE__) || !defined(__LP64__) && !defined(__alpha__) && !defined(__SUNPRO_CC)
template<>
struct hash<uint64_t> {
size_t operator()(uint64_t r) const {