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