Add a GHC.Constants module; fixes trac #3094
authorIan Lynagh <igloo@earth.li>
Sun, 9 Aug 2009 18:32:52 +0000 (18:32 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 9 Aug 2009 18:32:52 +0000 (18:32 +0000)
GHC/Constants.hs [new file with mode: 0644]
base.cabal

diff --git a/GHC/Constants.hs b/GHC/Constants.hs
new file mode 100644 (file)
index 0000000..3df2d96
--- /dev/null
@@ -0,0 +1,9 @@
+
+module GHC.Constants where
+
+import Prelude
+
+-- We use stage1 here, because that's guaranteed to exist
+#include "../../../compiler/stage1/ghc_boot_platform.h"
+
+#include "../../../includes/HaskellConstants.hs"
index c17d351..6812ec4 100644 (file)
@@ -41,6 +41,7 @@ Library {
             GHC.Classes,
             GHC.Conc,
             GHC.ConsoleHandler,
+            GHC.Constants,
             GHC.Desugar,
             GHC.Enum,
             GHC.Environment,