diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2016-03-02 06:42:13 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2016-03-02 06:42:13 +0100 |
commit | 2638db665afc175cf128c3e25bc883f4c114bb5a (patch) | |
tree | d1d0075f4e4f60015c021da70b6eabf67313f37d /src/platform | |
parent | 366608d026b7bcdb2b7478e932b0776ad0b51531 (diff) | |
parent | 74a28adba2a07d56bce9592f24196442192e68e0 (diff) | |
download | glutin-2638db665afc175cf128c3e25bc883f4c114bb5a.tar.gz glutin-2638db665afc175cf128c3e25bc883f4c114bb5a.zip |
Merge pull request #732 from zkirill/master
Fix this_platform_is_not_supported on OpenBSD.
Diffstat (limited to 'src/platform')
-rw-r--r-- | src/platform/linux/mod.rs | 2 | ||||
-rw-r--r-- | src/platform/mod.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/linux/mod.rs b/src/platform/linux/mod.rs index 9a9eb3f..1865835 100644 --- a/src/platform/linux/mod.rs +++ b/src/platform/linux/mod.rs @@ -1,4 +1,4 @@ -#![cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))] +#![cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))] use Api; use ContextError; diff --git a/src/platform/mod.rs b/src/platform/mod.rs index 8527da2..975d430 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -3,7 +3,7 @@ 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"))] +#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))] #[path="linux/mod.rs"] mod platform; #[cfg(target_os = "macos")] @@ -21,5 +21,5 @@ 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"), not(target_os = "emscripten")))] + not(target_os = "freebsd"), not(target_os = "openbsd"), not(target_os = "emscripten")))] use this_platform_is_not_supported; |