commit
b3a39524ee
1 changed files with 6 additions and 3 deletions
|
|
@ -11,9 +11,12 @@
|
|||
|
||||
import tables, os, unsigned, hashes
|
||||
|
||||
when defined(linux): import posix, epoll
|
||||
elif defined(windows): import winlean
|
||||
else: import posix
|
||||
when defined(linux) or defined(macosx):
|
||||
import posix, epoll
|
||||
elif defined(windows):
|
||||
import winlean
|
||||
else:
|
||||
import posix
|
||||
|
||||
proc hash*(x: TSocketHandle): THash {.borrow.}
|
||||
proc `$`*(x: TSocketHandle): string {.borrow.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue