aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 914dedc..ee79fd9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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);