mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-22 07:15:22 +00:00
Fixes selectors module on Mac OS X.
This commit is contained in:
@@ -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.}
|
||||||
|
|||||||
Reference in New Issue
Block a user