diff options
author | David Waern <david.waern@gmail.com> | 2008-07-23 23:21:15 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-07-23 23:21:15 +0000 |
commit | 84d56e33fab93772cc4822ac9b6c80a91542597d (patch) | |
tree | 8a9ec63dfee38a39d6911caaab43da187baadf1e /examples/Bug2.hs | |
parent | a13a4b66d5df5eb4e443d734feaa12f0a90d1783 (diff) |
Be compatible with GHC 6.8.3
The cabal file is converted to use the "new" syntax with explicit Library
and Executable sections.
We define the __GHC_PATCHLEVEL__ symbol using a conditinal cpp-options field
in the cabal file. (Ideally, Cabal would define the symbol for us, like it does
for __GLASGOW_HASKELL__).
We use these symbols to #ifdef around a small difference between 6.8.2 and 6.8.3.
Previously, we only supported GHC 6.8.2 officially but the dependencies field
said "ghc <= 6.9". This was just for convenience when testing against the (then
compatible) HEAD version of GHC, and was left in the release by mistake.
Now, we support both GHC 6.8.2 and 6.8.3 and the dependencies field
correctly reflects this.
Diffstat (limited to 'examples/Bug2.hs')
0 files changed, 0 insertions, 0 deletions