summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-09-06 09:48:58 -0400
committerBen Gamari <ben@smart-cactus.org>2017-09-06 09:51:02 -0400
commit0cd467b2269595e1ae2bc273c3acf9e14adeb9e7 (patch)
tree750c766ca52af2f855e5f5d940bedc8ccda23e14 /rts
parent0829821a6b886788a3ba6989e57e25a037bb6d05 (diff)
downloadhaskell-0cd467b2269595e1ae2bc273c3acf9e14adeb9e7.tar.gz
rts: Fix use of #if
Diffstat (limited to 'rts')
-rw-r--r--rts/Hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Hash.c b/rts/Hash.c
index 702e5a20a7..b9a3cf6f33 100644
--- a/rts/Hash.c
+++ b/rts/Hash.c
@@ -79,7 +79,7 @@ hashWord(const HashTable *table, StgWord key)
int
hashStr(const HashTable *table, char *key)
{
-#if x86_64_HOST_ARCH
+#ifdef x86_64_HOST_ARCH
StgWord h = XXH64 (key, strlen(key), 1048583);
#else
StgWord h = XXH32 (key, strlen(key), 1048583);