diff options
Diffstat (limited to 'Utility/Misc.hs')
-rwxr-xr-x | Utility/Misc.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utility/Misc.hs b/Utility/Misc.hs index 576a6ddbf..da4da0a60 100755 --- a/Utility/Misc.hs +++ b/Utility/Misc.hs @@ -15,7 +15,7 @@ import Foreign import Data.Char import Data.List import Control.Applicative -#if 0 +#ifndef mingw32_HOST_OS import System.Posix.Process (getAnyProcessStatus) #endif @@ -122,7 +122,7 @@ hGetSomeString h sz = do peekbytes :: Int -> Ptr Word8 -> IO [Word8] peekbytes len buf = mapM (peekElemOff buf) [0..pred len] -#if 0 +#ifndef mingw32_HOST_OS {- Reaps any zombie git processes. - - Warning: Not thread safe. Anything that was expecting to wait |