remove dep on Win32-extras
Win32 now has its own getCurrentProcessId.
This commit is contained in:
parent
5393479ef6
commit
8b5480c66a
3 changed files with 2 additions and 5 deletions
|
@ -13,8 +13,7 @@ module Utility.PID where
|
|||
import System.Posix.Types (ProcessID)
|
||||
import System.Posix.Process (getProcessID)
|
||||
#else
|
||||
import System.Win32.Process (ProcessId)
|
||||
import System.Win32.Process.Current (getCurrentProcessId)
|
||||
import System.Win32.Process (ProcessId, getCurrentProcessId)
|
||||
#endif
|
||||
|
||||
#ifndef mingw32_HOST_OS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue