From: Simon Marlow Date: Mon, 31 Jan 2011 14:32:58 +0000 (+0000) Subject: add missing extensions for Windows X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1b83f2438da1471dd27eb6469d97be525af66c46;hp=8bb6db3e726aa1eeb6d512bfb5165f9f9f92210c;p=ghc-base.git add missing extensions for Windows --- diff --git a/GHC/Conc/Windows.hs b/GHC/Conc/Windows.hs index 96f034c..6ae525c 100644 --- a/GHC/Conc/Windows.hs +++ b/GHC/Conc/Windows.hs @@ -1,4 +1,5 @@ -{-# LANGUAGE NoImplicitPrelude #-} +{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples, ForeignFunctionInterface, + DeriveDataTypeable #-} {-# OPTIONS_GHC -fno-warn-missing-signatures #-} {-# OPTIONS_HADDOCK not-home #-} diff --git a/GHC/ConsoleHandler.hs b/GHC/ConsoleHandler.hs index 223a2bb..562ef32 100644 --- a/GHC/ConsoleHandler.hs +++ b/GHC/ConsoleHandler.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE CPP #-} +{-# LANGUAGE CPP, ForeignFunctionInterface #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Encoding.hs b/GHC/IO/Encoding.hs index 9f56966..5d8ecb4 100644 --- a/GHC/IO/Encoding.hs +++ b/GHC/IO/Encoding.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE CPP, NoImplicitPrelude #-} +{-# LANGUAGE CPP, NoImplicitPrelude, PatternGuards #-} {-# OPTIONS_GHC -funbox-strict-fields #-} ----------------------------------------------------------------------------- diff --git a/GHC/IO/Encoding/CodePage.hs b/GHC/IO/Encoding/CodePage.hs index 5edda21..9ecc1fc 100644 --- a/GHC/IO/Encoding/CodePage.hs +++ b/GHC/IO/Encoding/CodePage.hs @@ -1,4 +1,5 @@ -{-# LANGUAGE CPP, BangPatterns, NoImplicitPrelude #-} +{-# LANGUAGE CPP, BangPatterns, ForeignFunctionInterface, NoImplicitPrelude, + NondecreasingIndentation, MagicHash #-} module GHC.IO.Encoding.CodePage( #if !defined(mingw32_HOST_OS) ) where diff --git a/GHC/IO/Handle/FD.hs b/GHC/IO/Handle/FD.hs index fd188a8..4c380d6 100644 --- a/GHC/IO/Handle/FD.hs +++ b/GHC/IO/Handle/FD.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE CPP, NoImplicitPrelude, PatternGuards #-} +{-# LANGUAGE CPP, NoImplicitPrelude, PatternGuards, ForeignFunctionInterface #-} ----------------------------------------------------------------------------- -- |