fixes 'nim doc'

This commit is contained in:
Araq
2020-11-13 13:50:57 +01:00
parent cb19dc53ca
commit 19d52033f8

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