From cebd90f3e8102052407dabb032b0844d3d1be947 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Sun, 2 Aug 2009 19:06:51 +0000 Subject: [PATCH] remove unnecessary -#include options --- compiler/ghci/Linker.lhs | 2 -- compiler/ghci/ObjLink.lhs | 2 -- ghc/InteractiveUI.hs | 1 - 3 files changed, 5 deletions(-) diff --git a/compiler/ghci/Linker.lhs b/compiler/ghci/Linker.lhs index 21a2064..9f45579 100644 --- a/compiler/ghci/Linker.lhs +++ b/compiler/ghci/Linker.lhs @@ -12,8 +12,6 @@ necessary. \begin{code} -{-# OPTIONS -optc-DNON_POSIX_SOURCE -#include "Linker.h" #-} - {-# OPTIONS -fno-cse #-} -- -fno-cse is needed for GLOBAL_VAR's to behave properly diff --git a/compiler/ghci/ObjLink.lhs b/compiler/ghci/ObjLink.lhs index 7981c82..c8a6682 100644 --- a/compiler/ghci/ObjLink.lhs +++ b/compiler/ghci/ObjLink.lhs @@ -9,8 +9,6 @@ Primarily, this module consists of an interface to the C-land dynamic linker. \begin{code} -{-# OPTIONS -#include "Linker.h" #-} - module ObjLink ( initObjLinker, -- :: IO () loadDLL, -- :: String -> IO (Maybe String) diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index 3675398..e096fb2 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -1,7 +1,6 @@ {-# OPTIONS -fno-cse #-} -- -fno-cse is needed for GLOBAL_VAR's to behave properly -{-# OPTIONS -#include "Linker.h" #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-} ----------------------------------------------------------------------------- -- -- 1.7.10.4