Skip to content

Commit aaaf15e

Browse files
committed
test send IOCP
1 parent 19c8453 commit aaaf15e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hook/src/syscall/windows.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ unsafe fn attach() -> std::io::Result<()> {
143143
nfds: c_uint,
144144
timeout: c_int
145145
) -> c_int);
146+
#[cfg(not(feature = "iocp"))]
146147
impl_hook!("kernel32.dll", SLEEP, Sleep(dw_milliseconds: u32) -> ());
147148
impl_hook!("kernel32.dll", CREATEFILEW, CreateFileW(
148149
lpfilename: PCWSTR,

0 commit comments

Comments
 (0)