aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-08-15 16:12:40 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-08-15 16:12:40 +0200
commit24dbe322f7039326a60868b0e449eb64873f62c0 (patch)
tree5f8c0df7866bf1f976151903dd58a605fd681fff
parent4c1503dc323fb6ad18a1f73c88ce4e855f3894c8 (diff)
downloadglutin-24dbe322f7039326a60868b0e449eb64873f62c0.tar.gz
glutin-24dbe322f7039326a60868b0e449eb64873f62c0.zip
Track rust nightly
-rw-r--r--src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3cc3518..4568ccb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -25,14 +25,14 @@ pub use events::*;
use std::default::Default;
-#[cfg(target_os = "win32")]
+#[cfg(target_os = "windows")]
use winimpl = win32;
#[cfg(target_os = "linux")]
use winimpl = x11;
#[cfg(target_os = "macos")]
use winimpl = osx;
-#[cfg(target_os = "win32")]
+#[cfg(target_os = "windows")]
mod win32;
#[cfg(target_os = "linux")]
mod x11;
@@ -44,8 +44,8 @@ mod osx;
mod events;
-#[cfg(not(target_os = "win32"), not(target_os = "linux"), not(target_os = "macos"))]
-compile_error!("Only the `win32`, `linux` and `macos` platforms are supported")
+#[cfg(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"))]
+compile_error!("Only the `windows`, `linux` and `macos` platforms are supported")
/// Identifier for a monitor.
pub struct MonitorID(winimpl::MonitorID);