From f1993be9eae49ad9a1d5e8e8d2b3749ad4379a70 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Sun, 3 Aug 2014 18:30:31 +0200 Subject: Fix bugs from f4fb699b524 --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index ee79fd9..60ce0aa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,8 +23,10 @@ pub use events::*; #[cfg(windows)] use winimpl = win32; -#[cfg(unix)] +#[cfg(target_os = "linux")] use winimpl = x11; +#[cfg(target_os = "macos")] +use winimpl = osx; #[cfg(target_os = "win32")] mod win32; -- cgit v1.2.3