Skip to content
Snippets Groups Projects
Commit fb94a321 authored by Javier Neira 's avatar Javier Neira Committed by mergify-bot
Browse files

Use Win32 >= 2.8 to get Win32.sYNCHRONIZE

parent 8fcbe88e
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,7 @@ library
if os(windows)
-- newer directory for symlinks
build-depends: Win32 >= 2 && < 3, directory >=1.3.1.0
build-depends: Win32 >= 2.8 && < 3, directory >=1.3.1.0
else
build-depends: unix >= 2.5 && < 2.9
......
......@@ -140,7 +140,7 @@ deleteOldExeFile verbosity oldPID tmpPath = do
++ show oldPID ++ " at path " ++ tmpPath
log $ "getting handle of parent process " ++ show oldPID
oldPHANDLE <- Win32.openProcess Win32.sYNCHORNIZE False (fromIntegral oldPID)
oldPHANDLE <- Win32.openProcess Win32.sYNCHRONIZE False (fromIntegral oldPID)
log $ "synchronising with parent"
event <- openEvent syncEventName
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment