projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-07-15 14:08:03 by keithw]
[ghc-hetmet.git]
/
ghc
/
compiler
/
HsVersions.h
diff --git
a/ghc/compiler/HsVersions.h
b/ghc/compiler/HsVersions.h
index
c5663b1
..
f6acb0a
100644
(file)
--- a/
ghc/compiler/HsVersions.h
+++ b/
ghc/compiler/HsVersions.h
@@
-178,4
+178,14
@@
import qualified FastString
# define _CONCAT_ concat
#endif
+#if __HASKELL1__ > 4
+#define FMAP fmap
+#define ISALPHANUM isAlphaNum
+#define IOERROR ioError
+#else
+#define FMAP map
+#define ISALPHANUM isAlphanum
+#define IOERROR fail
+#endif
+
#endif