mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Changed: HAVE_X86_64 is defined or not
--HG-- branch : develop
This commit is contained in:
parent
51ec04b761
commit
9e8cd07e4b
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