From 1773a3e1dd9f724eee5b9678d14f50329707dbcb Mon Sep 17 00:00:00 2001
From: simonmar <unknown>
Date: Wed, 26 Jul 2000 13:27:54 +0000
Subject: [PATCH] [project @ 2000-07-26 13:27:54 by simonmar] Add a constant
 definition for WORD_SIZE, the size of an StgWord in bytes.

---
 ghc/includes/Constants.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ghc/includes/Constants.h b/ghc/includes/Constants.h
index dc6d3bdbe945..d0640f796e92 100644
--- a/ghc/includes/Constants.h
+++ b/ghc/includes/Constants.h
@@ -1,5 +1,5 @@
 /* ----------------------------------------------------------------------------
- * $Id: Constants.h,v 1.11 2000/02/28 12:02:32 sewardj Exp $
+ * $Id: Constants.h,v 1.12 2000/07/26 13:27:54 simonmar Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -158,6 +158,10 @@
 #define INT64_SIZE 	2
 #endif
 
+
+/*---- The size of StgWord, in bytes. */
+#define WORD_SIZE       SIZEOF_VOID_P
+
 /*---- Maximum number of constructors in a data type for direct-returns.  */
 
 #define MAX_VECTORED_RTN 8
-- 
GitLab