Fix compile error

This commit is contained in:
Asura
2022-09-04 16:50:25 +08:00
parent 7a35119d33
commit 79aec0a63f
4 changed files with 22 additions and 13 deletions

View File

@@ -26,6 +26,8 @@ use std::sync::{Arc, Mutex, RwLock};
pub static IS_IN: AtomicBool = AtomicBool::new(false);
static KEYBOARD_HOOKED: AtomicBool = AtomicBool::new(false);
#[cfg(windows)]
static mut IS_ALT_GR: bool = false;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
lazy_static::lazy_static! {