Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for latest GHC. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Control/Concurrent/STM/Promise/Process.hs
Expand Up @@ -113,10 +113,10 @@ processPromiseCallback callback cmd args input = do
-- from http://stackoverflow.com/questions/8820903
terminateProcess9 :: ProcessHandle -> IO ()
terminateProcess9 ph = do
#if __GLASGOW_HASKELL__ >= 708
let ProcessHandle pmvar _ = ph
#if MIN_VERSION_process(1,6,0)
let ProcessHandle pmvar _ _ = ph
#else
let ProcessHandle pmvar = ph
let ProcessHandle pmvar _ = ph
#endif
posixh <- readMVar pmvar
case posixh of
Expand Down