[project @ 2005-01-28 12:55:17 by simonmar]
[ghc-hetmet.git] / ghc / compiler / main / Constants.lhs
index 091a7de..0f9f492 100644 (file)
@@ -12,7 +12,6 @@ module Constants (module Constants) where
 -- be in trouble.
 
 #include "HsVersions.h"
-#include "../includes/ghcconfig.h"
 #include "../includes/MachRegs.h"
 #include "../includes/Constants.h"
 #include "../includes/MachDeps.h"
@@ -125,6 +124,12 @@ wORD_SIZE = (SIZEOF_HSWORD :: Int)
 wORD_SIZE_IN_BITS = wORD_SIZE * 8 :: Int
 \end{code}
 
+Size of a C int, in bytes. May be smaller than wORD_SIZE.
+
+\begin{code}
+cINT_SIZE = (SIZEOF_INT :: Int)
+\end{code}
+
 Size of a storage manager block (in bytes).
 
 \begin{code}