X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FHsVersions.h;h=f6acb0acb62b7f5c97529b4b206033e988430014;hb=1739ba3ce432e640139764596ca453e58aef3016;hp=c5663b12dcf142e5d64d32611ffcb466b0f0ba1d;hpb=6c43076c1303c7501f1b3c3f4db63df6cd6702ff;p=ghc-hetmet.git diff --git a/ghc/compiler/HsVersions.h b/ghc/compiler/HsVersions.h index c5663b1..f6acb0a 100644 --- 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