mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
fixes 'nim doc'
This commit is contained in:
@@ -1940,7 +1940,7 @@ proc activeDescriptors*(): int {.inline.} =
|
||||
## event loop. This is a cheap operation that does not involve a system call.
|
||||
when defined(windows):
|
||||
result = getGlobalDispatcher().handles.len
|
||||
else:
|
||||
elif not defined(nimdoc):
|
||||
result = getGlobalDispatcher().selector.count
|
||||
|
||||
when defined(posix):
|
||||
|
||||
Reference in New Issue
Block a user