Add static assert for platform not supported

This commit is contained in:
Tomaka17 2014-08-03 10:30:04 +02:00
parent f4fb699b52
commit 48632619c9

View file

@ -38,6 +38,10 @@ mod osx;
mod events;
#[cfg(not(target_os = "win32"), not(target_os = "linux"), not(target_os = "macos"))]
#[static_assert]
static this_platform_is_not_supposed: bool = false;
/// Identifier for a monitor.
pub struct MonitorID(winimpl::MonitorID);