summary refs log tree commit diff stats
path: root/lib/windows
diff options
context:
space:
mode:
authoroskca <datago@yeah.net>2018-01-11 13:40:25 +0800
committeroskca <datago@yeah.net>2018-01-11 13:40:35 +0800
commit495331bf20d5c3147290f0393581c4bd7292c89c (patch)
tree301875ad665e41d31ded9d6afcd25f5e97af1f9f /lib/windows
parente98a2051ce22c1f72c662e0c3e37597cbfaad6b0 (diff)
downloadNim-495331bf20d5c3147290f0393581c4bd7292c89c.tar.gz
raiseOSError to indicate the failling of findNextFile in walkDir[Rec]
Diffstat (limited to 'lib/windows')
-rw-r--r--lib/windows/winlean.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/windows/winlean.nim b/lib/windows/winlean.nim
index a833377e5..bd6e58a10 100644
--- a/lib/windows/winlean.nim
+++ b/lib/windows/winlean.nim
@@ -686,6 +686,7 @@ const
   ERROR_FILE_NOT_FOUND* = 2
   ERROR_PATH_NOT_FOUND* = 3
   ERROR_ACCESS_DENIED* = 5
+  ERROR_NO_MORE_FILES* = 18
   ERROR_HANDLE_EOF* = 38
   ERROR_BAD_ARGUMENTS* = 165