From: Ali Saidi Date: Thu, 8 Nov 2007 21:11:09 +0000 (-0500) Subject: Compiling: Fix for 64bit compile on Darwin/OSX 10.5. X-Git-Tag: m5_2.0_beta5~84^2~24 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=067302968967cf74a9c9ed8fb81e1f53c6ead176;p=gem5.git Compiling: Fix for 64bit compile on Darwin/OSX 10.5. --HG-- extra : convert_revision : 1f23f7a3952f55cca8293fb43ae15db42005aeac --- 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 {