diff options
author | Ian Lynagh <igloo@earth.li> | 2012-06-18 21:44:52 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-06-18 21:58:57 +0100 |
commit | 32fd3547544ad3075da06f46aad3e85fd5887706 (patch) | |
tree | 18c44f63c96f0425f8a0c6666041690d19e4a847 /compiler/main/Constants.lhs | |
parent | d361262b601c90512176e3dbc4a65c02d73a234d (diff) | |
download | haskell-32fd3547544ad3075da06f46aad3e85fd5887706.tar.gz |
Move and rename opt_HiVersion
It isn't really an option at all
Diffstat (limited to 'compiler/main/Constants.lhs')
-rw-r--r-- | compiler/main/Constants.lhs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/main/Constants.lhs b/compiler/main/Constants.lhs index 2e276f64c6..0cecb82f1a 100644 --- a/compiler/main/Constants.lhs +++ b/compiler/main/Constants.lhs @@ -13,8 +13,12 @@ module Constants (module Constants) where +import Config + #include "ghc_boot_platform.h" #include "../includes/HaskellConstants.hs" +hiVersion :: Integer +hiVersion = read (cProjectVersionInt ++ cProjectPatchLevel) :: Integer \end{code} |