projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422ab8b
)
Compiling: Fix for 64bit compile on Darwin/OSX 10.5.
author
Ali Saidi
<saidi@eecs.umich.edu>
Thu, 8 Nov 2007 21:11:09 +0000
(16:11 -0500)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Thu, 8 Nov 2007 21:11:09 +0000
(16:11 -0500)
--HG--
extra : convert_revision :
1f23f7a3952f55cca8293fb43ae15db42005aeac
src/base/hashmap.hh
patch
|
blob
|
history
diff --git
a/src/base/hashmap.hh
b/src/base/hashmap.hh
index b78cc02e87a10a98919696cbf628d147d34a9f5d..179191c7cb5cf694ec01ce07c6005eacfb9b9a32 100644
(file)
--- 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 {