mirror of
https://github.com/codex-storage/nim-libp2p.git
synced 2025-01-13 12:34:18 +00:00
Fix #23.
This commit is contained in:
parent
3493b9ff7f
commit
bf7a7f9b73
@ -527,8 +527,8 @@ 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] =
|
||||||
# Not ready yet.
|
# Not ready yet.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user