Skip to content

Commit ca0f871

Browse files
authored
Fix compile on Windows (#315)
1 parent 380e463 commit ca0f871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncprocmonitor.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ when defined(posix):
1010
type Callback* = proc() {.closure, gcsafe, raises: [].}
1111

1212
when defined(windows):
13-
import winlean
13+
import winlean, sugar
1414

1515
proc hookAsyncProcMonitor*(pid: int, cb: Callback) =
1616
discard addProcess2(pid, (arg: pointer) => cb())

0 commit comments

Comments
 (0)