aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-08-03 18:39:00 +0200
committertomaka <pierre.krieger1708@gmail.com>2014-08-03 18:39:00 +0200
commit752c721ae1337e770512cd7d01e0b5ec7eff6d00 (patch)
tree84344e1c9c1008a8dffd0ca7af96574901a2933d /src/lib.rs
parentd574f6f1bbcdcc93649fe9daa18106a3cae61ef6 (diff)
parentf1993be9eae49ad9a1d5e8e8d2b3749ad4379a70 (diff)
downloadglutin-752c721ae1337e770512cd7d01e0b5ec7eff6d00.tar.gz
glutin-752c721ae1337e770512cd7d01e0b5ec7eff6d00.zip
Merge pull request #13 from pnkfelix/fsk-fix-osx-dummy-impl
Fix bugs in OS X dummy impl
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
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;