fix build

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-06-07 20:42:07 +08:00
parent 858cf2f5b5
commit 2b9026526e
2 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ use std::{
thread,
time::{self, Duration, Instant},
};
#[cfg(windows)]
use winapi::um::winuser::WHEEL_DELTA;
const INVALID_CURSOR_POS: i32 = i32::MIN;