summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-05-14 09:17:37 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-05-14 10:34:03 +0100
commit1269aff19e7b7114dc2cf995560e7e2042d07d1c (patch)
treee24f649457763302a87ae343ebadb449ae5a16de /includes
parent56de2225fa5d22f38b93489a03d5c8b7301b759e (diff)
downloadhaskell-1269aff19e7b7114dc2cf995560e7e2042d07d1c.tar.gz
includes/Stg.h: '#if sparch_HOST_ARCH' -> '#if defined(sparch_HOST_ARCH)'
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'includes')
-rw-r--r--includes/Stg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Stg.h b/includes/Stg.h
index df71e4e7df..f377e50d98 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); \