X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2Fmain%2FSysTools.lhs;h=484e9e20a261c7fe9aaf96058fe9e7bd6e902fa4;hb=1a3efdd6b616f3a101e182f715df5a0e306eb348;hp=6aa04b1459c35160bbb65dd6cb2c126930703e34;hpb=752169f4ea14c0fd890ac55af5395bd1672751ea;p=ghc-hetmet.git diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs index 6aa04b1..484e9e2 100644 --- a/compiler/main/SysTools.lhs +++ b/compiler/main/SysTools.lhs @@ -72,17 +72,10 @@ import Foreign import CString ( CString, peekCString ) #endif -#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 603 --- rawSystem comes from libghccompat.a in stage1 -import Compat.RawSystem ( rawSystem ) -import System.Cmd ( system ) -import GHC.IOBase ( IOErrorType(..) ) -#else import System.Process ( runInteractiveProcess, getProcessExitCode ) import Control.Concurrent( forkIO, newChan, readChan, writeChan ) import FastString ( mkFastString ) import SrcLoc ( SrcLoc, mkSrcLoc, noSrcSpan, mkSrcSpan ) -#endif \end{code}