fixup
This commit is contained in:
parent
e7ab4817e2
commit
0caab530fb
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ proc processID*(): int =
|
||||||
type DWORD = uint32
|
type DWORD = uint32
|
||||||
proc GetCurrentProcessId(): DWORD {.stdcall, dynlib: "kernel32",
|
proc GetCurrentProcessId(): DWORD {.stdcall, dynlib: "kernel32",
|
||||||
importc: "GetCurrentProcessId".}
|
importc: "GetCurrentProcessId".}
|
||||||
result = GetCurrentProcessId()
|
result = GetCurrentProcessId().int
|
||||||
else:
|
else:
|
||||||
result = getpid()
|
result = getpid()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue