forked from GitHub/gf-rgl
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.
16 KiB
16 KiB