diff --git a/rts/Hash.c b/rts/Hash.c index cf5bc8fc1255bdde69f0ae2f4ced5dec208d4b40..2feba0b675549c3678046145f5101ff79f6278e5 100644 --- a/rts/Hash.c +++ b/rts/Hash.c @@ -97,7 +97,7 @@ int hashStr(const HashTable *table, StgWord w) { const char *key = (char*) w; -#if defined(x86_64_HOST_ARCH) +#if WORD_SIZE_IN_BITS == 64 StgWord h = XXH3_64bits_withSeed (key, strlen(key), 1048583); #else StgWord h = XXH32 (key, strlen(key), 1048583);