Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The MIN_VERSION_process macro is not defined when bootstrapping

  • Loading branch information...
commit fbf0a08c03b4aa21bbbf30a293984061d3f0c72d 1 parent f40812b
@tibbe tibbe authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cabal/Distribution/Simple/Utils.hs
View
4 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)
Please sign in to comment.
Something went wrong with that request. Please try again.