mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-19 01:18:32 +00:00
fixup
This commit is contained in:
@@ -164,7 +164,7 @@ proc processID*(): int =
|
||||
type DWORD = uint32
|
||||
proc GetCurrentProcessId(): DWORD {.stdcall, dynlib: "kernel32",
|
||||
importc: "GetCurrentProcessId".}
|
||||
result = GetCurrentProcessId()
|
||||
result = GetCurrentProcessId().int
|
||||
else:
|
||||
result = getpid()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user