From e7e87344df2eec0e5cb742e162ebf8548df00306 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 9 Aug 2009 18:32:52 +0000 Subject: [PATCH] Add a GHC.Constants module; fixes trac #3094 --- GHC/Constants.hs | 9 +++++++++ base.cabal | 1 + 2 files changed, 10 insertions(+) create mode 100644 GHC/Constants.hs diff --git a/GHC/Constants.hs b/GHC/Constants.hs new file mode 100644 index 0000000..3df2d96 --- /dev/null +++ b/GHC/Constants.hs @@ -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" diff --git a/base.cabal b/base.cabal index c17d351..6812ec4 100644 --- a/base.cabal +++ b/base.cabal @@ -41,6 +41,7 @@ Library { GHC.Classes, GHC.Conc, GHC.ConsoleHandler, + GHC.Constants, GHC.Desugar, GHC.Enum, GHC.Environment, -- 1.7.10.4