mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2026-01-10 00:28:10 -05:00
Fix #23.
This commit is contained in:
@@ -527,8 +527,8 @@ when not defined(windows):
|
||||
proc getProcessId(): int =
|
||||
result = posix.getpid()
|
||||
else:
|
||||
proc getCurrentProcessId*(): uint32 {.stdcall, dynlib: "kernel32",
|
||||
importc: "GetCurrentProcessId".}
|
||||
proc getCurrentProcessId(): uint32 {.stdcall, dynlib: "kernel32",
|
||||
importc: "GetCurrentProcessId".}
|
||||
|
||||
proc loggingHandler(api: DaemonAPI): Future[void] =
|
||||
# Not ready yet.
|
||||
|
||||
Reference in New Issue
Block a user