Changed: HAVE_X86_64 is defined or not
This commit is contained in:
parent
ce846b9d95
commit
d0e3c3c17f
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ struct CEntityIdHashMapTraits
|
||||||
size_t operator() (const NLMISC::CEntityId &id ) const
|
size_t operator() (const NLMISC::CEntityId &id ) const
|
||||||
{
|
{
|
||||||
uint64 hash64 = id.getUniqueId();
|
uint64 hash64 = id.getUniqueId();
|
||||||
#if (HAVE_X86_64)
|
#ifdef HAVE_X86_64
|
||||||
return (size_t)hash64;
|
return (size_t)hash64;
|
||||||
#else
|
#else
|
||||||
return (size_t)hash64 ^ (size_t)(hash64 >> 32);
|
return (size_t)hash64 ^ (size_t)(hash64 >> 32);
|
||||||
|
|
Loading…
Reference in a new issue