This commit is contained in:
cheatfate 2019-06-25 11:27:38 +03:00
parent 3493b9ff7f
commit bf7a7f9b73
No known key found for this signature in database
GPG Key ID: 46ADD633A7201F95

View File

@ -527,7 +527,7 @@ when not defined(windows):
proc getProcessId(): int = proc getProcessId(): int =
result = posix.getpid() result = posix.getpid()
else: else:
proc getCurrentProcessId*(): uint32 {.stdcall, dynlib: "kernel32", proc getCurrentProcessId(): uint32 {.stdcall, dynlib: "kernel32",
importc: "GetCurrentProcessId".} importc: "GetCurrentProcessId".}
proc loggingHandler(api: DaemonAPI): Future[void] = proc loggingHandler(api: DaemonAPI): Future[void] =