From 910b485a6769cdd310542e9b3cdc2e5365d6f659 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 14 Feb 2002 07:55:47 +0000 Subject: [PATCH] [project @ 2002-02-14 07:55:47 by sof] import SystemExts.rawSystem in mingw builds only --- ghc/compiler/main/SysTools.lhs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc/compiler/main/SysTools.lhs b/ghc/compiler/main/SysTools.lhs index 2754cfb..066ae67 100644 --- a/ghc/compiler/main/SysTools.lhs +++ b/ghc/compiler/main/SysTools.lhs @@ -94,7 +94,9 @@ import GHC.IOBase # else import PrelIOBase -- this can be removed when SystemExts is used # endif +# ifdef mingw32_TARGET_OS import SystemExts ( rawSystem ) +# endif #else import CError ( throwErrnoIfMinus1 ) -- as can this import System ( system ) -- 1.7.10.4