Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Further ghc 6.12 fixes.

  • Loading branch information...
commit 2d14b1c458696584ea6f64bf0dca4c00941109f1 1 parent 7626bf1
John MacFarlane authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  gitit.hs
View
3  gitit.hs
@@ -38,8 +38,9 @@ import Data.Version (showVersion)
-- Note: ghc >= 6.12 (base >=4.2) supports unicode through iconv
-- So we use System.IO.UTF8 only if we have an earlier version
#if MIN_VERSION_base(4,2,0)
+import Prelude (writeFile, readFile)
+import System.IO (hPutStrLn)
#else
-import Prelude hiding (readFile)
import System.IO.UTF8
#endif
import Paths_gitit (version, getDataFileName)
Please sign in to comment.
Something went wrong with that request. Please try again.