Changed: HAVE_X86_64 is defined or not

This commit is contained in:
kervala 2016-01-07 17:39:53 +01:00
parent ce846b9d95
commit d0e3c3c17f

View file

@ -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);