From 067302968967cf74a9c9ed8fb81e1f53c6ead176 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Thu, 8 Nov 2007 16:11:09 -0500 Subject: [PATCH] Compiling: Fix for 64bit compile on Darwin/OSX 10.5. --HG-- extra : convert_revision : 1f23f7a3952f55cca8293fb43ae15db42005aeac --- src/base/hashmap.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { size_t operator()(uint64_t r) const { -- 2.30.2