summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/fsmonitor.nim4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pure/fsmonitor.nim b/lib/pure/fsmonitor.nim
index 92a80425a..a554cf963 100644
--- a/lib/pure/fsmonitor.nim
+++ b/lib/pure/fsmonitor.nim
@@ -17,9 +17,7 @@
 ## module will therefore not work with any Linux kernel prior to that, unless
 ## it has been patched to support inotify.
 
-when defined(windows):
-  {.error: "Windows is not yet supported by this module.".}
-elif defined(linux):
+when defined(linux) or defined(nimdoc):
   from posix import read
 else:
   {.error: "Your platform is not supported.".}