Fixes selectors module on Mac OS X.
This commit is contained in:
parent
d2593e1d62
commit
61c9c429d4
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ import tables, os, unsigned, hashes
|
||||||
|
|
||||||
when defined(linux): import posix, epoll
|
when defined(linux): import posix, epoll
|
||||||
elif defined(windows): import winlean
|
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