make import work with Win32 instead of Win32-extras
This commit is contained in:
parent
9d150ba60c
commit
266bf43632
1 changed files with 1 additions and 2 deletions
|
@ -13,8 +13,7 @@ module Utility.PID where
|
||||||
import System.Posix.Types (ProcessID)
|
import System.Posix.Types (ProcessID)
|
||||||
import System.Posix.Process (getProcessID)
|
import System.Posix.Process (getProcessID)
|
||||||
#else
|
#else
|
||||||
import System.Win32.Process (ProcessId)
|
import System.Win32.Process (ProcessId, getCurrentProcessId)
|
||||||
import System.Win32.Process.Current (getCurrentProcessId)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef mingw32_HOST_OS
|
#ifndef mingw32_HOST_OS
|
||||||
|
|
Loading…
Reference in a new issue