mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Changed: HAVE_X86_64 is defined or not
This commit is contained in:
parent
96edb81218
commit
5be17937df
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