fixup #if 0 stubs to use #ifndef mingw32_HOST_OS
That's needed in files used to build the configure program. For the other files, I'm keeping my __WINDOWS__ define, as I find that much easier to type. I may search and replace it to use the mingw32_HOST_OS thing later.
This commit is contained in:
parent
6c74a42cc6
commit
763cbda14f
23 changed files with 48 additions and 48 deletions
|
@ -42,7 +42,7 @@ import Control.Concurrent
|
|||
import qualified Control.Exception as E
|
||||
import Control.Monad
|
||||
import Data.Maybe
|
||||
#if 0
|
||||
#ifndef mingw32_HOST_OS
|
||||
import System.Posix.IO
|
||||
#endif
|
||||
|
||||
|
@ -158,7 +158,7 @@ createBackgroundProcess p a = a =<< createProcess p
|
|||
- returns a transcript combining its stdout and stderr, and
|
||||
- whether it succeeded or failed. -}
|
||||
processTranscript :: String -> [String] -> (Maybe String) -> IO (String, Bool)
|
||||
#if 0
|
||||
#ifndef mingw32_HOST_OS
|
||||
processTranscript cmd opts input = do
|
||||
(readf, writef) <- createPipe
|
||||
readh <- fdToHandle readf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue