1
0
forked from GitHub/gf-rgl
Files
gf-rgl/Make.hs
John J. Camilleri 5172586aa8 Check GHC version instead of directory version
Explanation by Thomas Hallgren:

These MIN_VERSION macros are traditionally provided by Cabal, in dist/build/autogen/cabal_macros.h. It is only with ghc>=8.0 that ghc itself provides them, so with ghc<8, runghc Make.hs fails, as can be seen in the included message.

Incidentally, ghc-8.0.1 also comes with directory-1.3, so I suggest using

    #if __GLASGOW_HASKELL__>=800

instead. Then Make.hs will work with older versions of ghc, and set the modification times if you are using ghc>=8.0.
2018-10-31 11:10:05 +01:00

16 KiB