fixes 'nim doc'

(cherry picked from commit 19d52033f8)
This commit is contained in:
Araq
2020-11-13 13:50:57 +01:00
committed by narimiran
parent 93552e2e31
commit 67bdbb676e

View File

@@ -1898,7 +1898,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):