summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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); \