Permalink
Browse files

The MIN_VERSION_process macro is not defined when bootstrapping

  • Loading branch information...
tibbe committed Nov 15, 2012
1 parent f40812b commit fbf0a08c03b4aa21bbbf30a293984061d3f0c72d
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cabal/Distribution/Simple/Utils.hs
@@ -199,7 +199,7 @@ import System.Process (runProcess)
#ifdef __GLASGOW_HASKELL__
import Control.Concurrent (forkIO)
import System.Process (runInteractiveProcess, waitForProcess)
-#if MIN_VERSION_process(1,1,0)
+#if __GLASGOW_HASKELL__ >= 702
import System.Process (showCommandForUser)
#endif
#else
@@ -363,7 +363,7 @@ printRawCommandAndArgs :: Verbosity -> FilePath -> [String] -> IO ()
printRawCommandAndArgs verbosity path args
| verbosity >= deafening = print (path, args)
| verbosity >= verbose =
-#if MIN_VERSION_process(1,1,0)
+#if __GLASGOW_HASKELL__ >= 702
putStrLn $ showCommandForUser path args
#else
putStrLn $ unwords (path : args)

0 comments on commit fbf0a08

Please sign in to comment.