[project @ 2004-02-02 10:07:37 by simonmar]
authorsimonmar <unknown>
Mon, 2 Feb 2004 10:07:37 +0000 (10:07 +0000)
committersimonmar <unknown>
Mon, 2 Feb 2004 10:07:37 +0000 (10:07 +0000)
Fix build

ghc/compiler/main/SysTools.lhs

index 7d933c1..0908f2c 100644 (file)
@@ -105,7 +105,7 @@ import Foreign
 import CString         ( CString, peekCString )
 #endif
 
-#if __GLASGOW_HASKELL__ < 601
+#if __GLASGOW_HASKELL__ < 603
 import Foreign         ( withMany, withArray0, nullPtr, Ptr )
 import CForeign                ( CString, withCString, throwErrnoIfMinus1 )
 #else
@@ -776,7 +776,7 @@ traceCmd phase_name cmd_line action
 -- thare are not repeated here -- go look!
 
 
-#if __GLASGOW_HASKELL__ < 621
+#if __GLASGOW_HASKELL__ < 603
 
 rawSystem :: FilePath -> [String] -> IO ExitCode