Remove the use platform_not_supported hack (#285)

This commit is contained in:
tomaka 2017-09-15 15:45:45 +02:00 committed by GitHub
parent 769d4fe897
commit 1d0b5bcfbd

View file

@ -22,4 +22,4 @@ mod platform;
#[cfg(all(not(target_os = "ios"), not(target_os = "windows"), not(target_os = "linux"), #[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 = "macos"), not(target_os = "android"), not(target_os = "dragonfly"),
not(target_os = "freebsd"), not(target_os = "openbsd"), not(target_os = "emscripten")))] not(target_os = "freebsd"), not(target_os = "openbsd"), not(target_os = "emscripten")))]
use this_platform_is_not_supported; compile_error!("The platform you're compiling for is not supported by winit");