mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-29 00:11:30 +11:00
b707959c2c
Tested on DragonFly BSD. Should work similarily on FreeBSD.
23 lines
653 B
Rust
23 lines
653 B
Rust
pub use self::platform::*;
|
|
|
|
#[cfg(target_os = "windows")]
|
|
#[path="windows/mod.rs"]
|
|
mod platform;
|
|
#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
|
|
#[path="linux/mod.rs"]
|
|
mod platform;
|
|
#[cfg(target_os = "macos")]
|
|
#[path="macos/mod.rs"]
|
|
mod platform;
|
|
#[cfg(target_os = "android")]
|
|
#[path="android/mod.rs"]
|
|
mod platform;
|
|
#[cfg(target_os = "ios")]
|
|
#[path="ios/mod.rs"]
|
|
mod platform;
|
|
|
|
#[cfg(all(not(target_os = "ios"), not(target_os = "windows"), not(target_os = "linux"),
|
|
not(target_os = "macos"), not(target_os = "android"), not(target_os = "dragonfly"),
|
|
not(target_os = "freebsd")))]
|
|
use this_platform_is_not_supported;
|