Skip to content
Snippets Groups Projects
Commit 40170cd7 authored by Isaac Potoczny-Jones's avatar Isaac Potoczny-Jones
Browse files

added -D__GLASGOW_HASKELL__ for hcDefines, probably needed by cpp

parent fc3c80fc
No related merge requests found
...@@ -250,6 +250,8 @@ hcDefines Compiler { compilerFlavor=NHC, compilerVersion=version } ...@@ -250,6 +250,8 @@ hcDefines Compiler { compilerFlavor=NHC, compilerVersion=version }
= ["-D__NHC__=" ++ versionInt version] = ["-D__NHC__=" ++ versionInt version]
hcDefines Compiler { compilerFlavor=Hugs } hcDefines Compiler { compilerFlavor=Hugs }
= ["-D__HUGS__"] = ["-D__HUGS__"]
hcDefines Compiler { compilerFlavor=GHC, compilerVersion=version }
= ["-D__GLASGOW_HASKELL__=" ++ versionInt version]
hcDefines _ = [] hcDefines _ = []
versionInt :: Version -> String versionInt :: Version -> String
......
...@@ -25,6 +25,8 @@ let me know if you want a complete testcase. ...@@ -25,6 +25,8 @@ let me know if you want a complete testcase.
* Clarify build-depends; unix? posix? utils? see journal entry of aug * Clarify build-depends; unix? posix? utils? see journal entry of aug
22, 2005. 22, 2005.
* look at "cabal design
* REMOVE THESE FLAGS: add flags The patch adds a couple extra configure options, * REMOVE THESE FLAGS: add flags The patch adds a couple extra configure options,
--enable-library-for-ghci / --disable-library-for-ghci or whatever --enable-library-for-ghci / --disable-library-for-ghci or whatever
they end up being, to the manual. Which is default? Add test case they end up being, to the manual. Which is default? Add test case
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment