aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2014-12-04 20:44:12 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2014-12-04 20:44:12 +0100
commitffba8564c8edac6be0f648e625e4df32e48e2caa (patch)
treeec8ca99a64211ee3f8f1547035cab507e1a513d4 /src
parent45f9ff09e66e56ff53d7ceef7348e5cffbd9be6e (diff)
downloadglutin-ffba8564c8edac6be0f648e625e4df32e48e2caa.tar.gz
glutin-ffba8564c8edac6be0f648e625e4df32e48e2caa.zip
Remove the dependency to compile_msg
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 53b540b..b27ef97 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -30,7 +30,6 @@
//!
//! By default only `window` is enabled.
-#[phase(plugin)] extern crate compile_msg;
#[phase(plugin)] extern crate gl_generator;
extern crate gl_common;
@@ -49,6 +48,9 @@ pub use events::*;
use std::default::Default;
+#[cfg(all(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"), not(target_os = "android")))]
+use this_platform_is_not_supported;
+
#[cfg(target_os = "windows")]
#[path="win32/mod.rs"]
mod winimpl;
@@ -64,9 +66,6 @@ mod winimpl;
mod events;
-#[cfg(all(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"), not(target_os = "android")))]
-compile_error!("Only the `windows`, `linux` and `macos` platforms are supported")
-
/// Identifier for a monitor.
#[cfg(feature = "window")]
pub struct MonitorID(winimpl::MonitorID);