From c5826ec1fb747207573b1289b340d6243012f67f Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 5 Dec 2012 22:58:52 +0100 Subject: fixes #266 --- lib/pure/fsmonitor.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') 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.".} -- cgit 1.4.1-2-gfad0