[commit: ghc] master: rts: Fix use of #if (0cd467b)
git at git.haskell.org
git at git.haskell.org
Wed Sep 6 13:56:39 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/0cd467b2269595e1ae2bc273c3acf9e14adeb9e7/ghc
>---------------------------------------------------------------
commit 0cd467b2269595e1ae2bc273c3acf9e14adeb9e7
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Sep 6 09:48:58 2017 -0400
rts: Fix use of #if
>---------------------------------------------------------------
0cd467b2269595e1ae2bc273c3acf9e14adeb9e7
rts/Hash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rts/Hash.c b/rts/Hash.c
index 702e5a2..b9a3cf6 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);
More information about the ghc-commits
mailing list