From: malcolm Date: Fri, 28 Jan 2005 16:09:06 +0000 (+0000) Subject: [project @ 2005-01-28 16:09:06 by malcolm] X-Git-Tag: nhc98-1-18-release~59 X-Git-Url: http://git.megacz.com/?p=ghc-base.git;a=commitdiff_plain;h=5505736fa4594514aab2b3ea8b15171e8349b91e [project @ 2005-01-28 16:09:06 by malcolm] Add compilerVersion for nhc98. --- diff --git a/System/Info.hs b/System/Info.hs index 85b9017..68a4a1f 100644 --- a/System/Info.hs +++ b/System/Info.hs @@ -57,3 +57,10 @@ compilerVersion :: Version compilerVersion = Version {versionBranch=[maj,min], versionTags=[]} where (maj,min) = __GLASGOW_HASKELL__ `divMod` 100 #endif + +#ifdef __NHC__ +compilerVersion :: Version +compilerVersion = Version {versionBranch=[maj,min], versionTags=[]} + where (maj,min) = __NHC__ `divMod` 100 +#endif +