2015-04-24 09:51:23 +02:00
|
|
|
pub use self::platform::*;
|
|
|
|
|
|
|
|
|
|
#[cfg(target_os = "windows")]
|
|
|
|
|
#[path="windows/mod.rs"]
|
|
|
|
|
mod platform;
|
2018-07-16 23:25:27 +09:00
|
|
|
#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))]
|
2015-04-24 09:51:23 +02:00
|
|
|
#[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;
|
2015-06-05 16:38:21 +03:00
|
|
|
#[cfg(target_os = "ios")]
|
|
|
|
|
#[path="ios/mod.rs"]
|
|
|
|
|
mod platform;
|
2017-09-14 16:31:34 +02:00
|
|
|
#[cfg(target_os = "emscripten")]
|
|
|
|
|
#[path="emscripten/mod.rs"]
|
|
|
|
|
mod platform;
|
2015-04-24 09:51:23 +02:00
|
|
|
|
2015-08-29 22:54:17 +02:00
|
|
|
#[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"),
|
2018-07-16 23:25:27 +09:00
|
|
|
not(target_os = "freebsd"), not(target_os = "netbsd"), not(target_os = "openbsd"),
|
|
|
|
|
not(target_os = "emscripten")))]
|
2017-09-15 15:45:45 +02:00
|
|
|
compile_error!("The platform you're compiling for is not supported by winit");
|