projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb534f2
)
[project @ 2005-01-28 16:09:06 by malcolm]
author
malcolm
<unknown>
Fri, 28 Jan 2005 16:09:06 +0000
(16:09 +0000)
committer
malcolm
<unknown>
Fri, 28 Jan 2005 16:09:06 +0000
(16:09 +0000)
Add compilerVersion for nhc98.
System/Info.hs
patch
|
blob
|
history
diff --git
a/System/Info.hs
b/System/Info.hs
index
85b9017
..
68a4a1f
100644
(file)
--- 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
+