diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-04-25 08:57:18 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-04-25 08:57:18 -0400 |
commit | 79750fc575db0966ff9d0530975377c35f630eca (patch) | |
tree | 51e7eca97cf34337ff356a793e825a62f5d942d3 /tests/test-progs/hello | |
parent | 312b6fe43b3be7bd1618bb6ffd7810787eea75a0 (diff) | |
download | gem5-79750fc575db0966ff9d0530975377c35f630eca.tar.xz |
clang/gcc: Use STL hash function for int64_t and uint64_t
This patch changes the guards for the definition of hash functions to
also exclude the int64_t and uint64_t hash functions in the case we
are using the c++0x STL <unordered_map> (and <hash>) or the TR1
version of the same header. Previously the guard only covered the hash
function for strings, but it seems there is also no need to define a
hash for the 64-bit integer types, and this has caused problems with
builds on 32-bit Ubuntu.
Diffstat (limited to 'tests/test-progs/hello')
0 files changed, 0 insertions, 0 deletions