[commit: ghc] master: includes/Stg.h: '#if sparch_HOST_ARCH' -> '#if defined(sparch_HOST_ARCH)' (1269aff)
git at git.haskell.org
git at git.haskell.org
Sun May 14 09:34:31 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1269aff19e7b7114dc2cf995560e7e2042d07d1c/ghc
>---------------------------------------------------------------
commit 1269aff19e7b7114dc2cf995560e7e2042d07d1c
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date: Sun May 14 09:17:37 2017 +0100
includes/Stg.h: '#if sparch_HOST_ARCH' -> '#if defined(sparch_HOST_ARCH)'
Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
>---------------------------------------------------------------
1269aff19e7b7114dc2cf995560e7e2042d07d1c
includes/Stg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/includes/Stg.h b/includes/Stg.h
index df71e4e..f377e50 100644
--- a/includes/Stg.h
+++ b/includes/Stg.h
@@ -360,7 +360,7 @@ INLINE_HEADER StgDouble PK_DBL (W_ p_src[]) { return *(StgDou
* independently - unfortunately this code isn't writable in C, we
* have to use inline assembler.
*/
-#if sparc_HOST_ARCH
+#if defined(sparc_HOST_ARCH)
#define ASSIGN_DBL(dst0,src) \
{ StgPtr dst = (StgPtr)(dst0); \
More information about the ghc-commits
mailing list