add NoImplicitPrelude (fix Windows build failure)
authorSimon Marlow <marlowsd@gmail.com>
Mon, 31 Jan 2011 13:52:09 +0000 (13:52 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 31 Jan 2011 13:52:09 +0000 (13:52 +0000)
GHC/IO/Encoding/CodePage.hs
GHC/IO/Encoding/CodePage/Table.hs
codepages/MakeTable.hs

index 34bc0db..5edda21 100644 (file)
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, BangPatterns #-}
+{-# LANGUAGE CPP, BangPatterns, NoImplicitPrelude #-}
 module GHC.IO.Encoding.CodePage(
 #if !defined(mingw32_HOST_OS)
  ) where
index 0773851..7e8edb9 100644 (file)
@@ -1,4 +1,4 @@
-{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE CPP, MagicHash, NoImplicitPrelude #-}
 -- Do not edit this file directly!
 -- It was generated by the MakeTable.hs script using the files below.
 -- To regenerate it, run "make" in ../../../../codepages/
index e17380b..0a05f85 100644 (file)
@@ -200,7 +200,7 @@ compress n ms = runState (mapM lookupOrAdd chunks) (Map.empty, Map.empty)
 -- Static parts of the generated module.
 
 languageDirectives :: [String]
-languageDirectives = ["{-# LANGUAGE CPP, MagicHash #-}"]
+languageDirectives = ["{-# LANGUAGE CPP, MagicHash, NoImplicitPrelude #-}"]
 
 
 firstComment :: [FilePath] -> [String]