From: Gabe Black Date: Fri, 9 Nov 2007 07:42:44 +0000 (-0800) Subject: Make non Apple compilation work again. Ali may have to refix this. X-Git-Tag: m5_2.0_beta5~84^2~21 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c0076d5f3492d181b5b60fa13ac2c4f80821916;p=gem5.git Make non Apple compilation work again. Ali may have to refix this. --HG-- extra : convert_revision : 0f9455643eec14034314908ee26a6d693c54a864 --- 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 { size_t operator()(uint64_t r) const {