mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Add static assert for platform not supported
This commit is contained in:
parent
f4fb699b52
commit
48632619c9
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue