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 3e9df7da45
commit 4095cae94c

View File

@@ -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):