diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index ae3667ce41..0a20a103ea 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -460,11 +460,13 @@ class WXDLLIMPEXP_BASE wxIntegerHash WX_HASH_MAP_NAMESPACE::hash shortHash; WX_HASH_MAP_NAMESPACE::hash ushortHash; +#if defined wxLongLong_t && !defined wxLongLongIsLong size_t longlongHash( wxLongLong_t x ) const { return longHash( wx_truncate_cast(long, x) ) ^ longHash( wx_truncate_cast(long, x >> (sizeof(long) * 8)) ); } +#endif public: wxIntegerHash() { }