From: Ian Lynagh Date: Sun, 9 Aug 2009 18:32:52 +0000 (+0000) Subject: Add a GHC.Constants module; fixes trac #3094 X-Git-Tag: ghc-darcs-git-switchover~330 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e7e87344df2eec0e5cb742e162ebf8548df00306;p=ghc-base.git Add a GHC.Constants module; fixes trac #3094 --- 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,