mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-12 03:14:15 +00:00
Compatibility with new chronos version
This commit is contained in:
parent
a1eb53b181
commit
2d501196fa
@ -17,7 +17,8 @@ import chronos, stew/endians2
|
||||
import multiaddress, multicodec, errors, utility
|
||||
|
||||
when defined(windows):
|
||||
import winlean
|
||||
when not declared(Sockaddr_storage):
|
||||
import winlean
|
||||
else:
|
||||
import posix
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user