summaryrefslogtreecommitdiff
path: root/rts/Hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Hash.c')
-rw-r--r--rts/Hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Hash.c b/rts/Hash.c
index 658187b944..2f611c9079 100644
--- a/rts/Hash.c
+++ b/rts/Hash.c
@@ -80,7 +80,7 @@ int
hashStr(const HashTable *table, StgWord w)
{
const char *key = (char*) w;
-#ifdef x86_64_HOST_ARCH
+#if defined(x86_64_HOST_ARCH)
StgWord h = XXH64 (key, strlen(key), 1048583);
#else
StgWord h = XXH32 (key, strlen(key), 1048583);