aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index fec652a..d7cb97f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -23,7 +23,7 @@ extern crate libc;
pub use events::*;
-#[cfg(windows)]
+#[cfg(target_os = "win32")]
use winimpl = win32;
#[cfg(target_os = "linux")]
use winimpl = x11;