temporarily import from win32-extras

This commit is contained in:
Joey Hess 2017-10-24 12:06:41 -04:00
parent 2c71f4a3a8
commit 92c7e67022
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -13,7 +13,8 @@ module Utility.PID where
import System.Posix.Types (ProcessID)
import System.Posix.Process (getProcessID)
#else
import System.Win32.Process (ProcessId, getCurrentProcessId)
import System.Win32.Process (ProcessId)
import System.Win32.Process.Current (getCurrentProcessId)
#endif
#ifndef mingw32_HOST_OS