diff options
author | Kirill Zdornyy <kirill@dineserve.com> | 2016-03-01 18:06:13 -0800 |
---|---|---|
committer | Kirill Zdornyy <kirill@dineserve.com> | 2016-03-01 18:06:13 -0800 |
commit | 74a28adba2a07d56bce9592f24196442192e68e0 (patch) | |
tree | d1d0075f4e4f60015c021da70b6eabf67313f37d /src/api/egl | |
parent | 366608d026b7bcdb2b7478e932b0776ad0b51531 (diff) | |
download | glutin-74a28adba2a07d56bce9592f24196442192e68e0.tar.gz glutin-74a28adba2a07d56bce9592f24196442192e68e0.zip |
Fix this_platform_is_not_supported on OpenBSD.
I followed the steps of @mneumann.
Diffstat (limited to 'src/api/egl')
-rw-r--r-- | src/api/egl/ffi.rs | 2 | ||||
-rw-r--r-- | src/api/egl/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/egl/ffi.rs b/src/api/egl/ffi.rs index ae02e30..9ed32c8 100644 --- a/src/api/egl/ffi.rs +++ b/src/api/egl/ffi.rs @@ -33,5 +33,5 @@ pub type EGLNativeWindowType = winapi::HWND; pub type EGLNativeWindowType = *const libc::c_void; #[cfg(target_os = "android")] pub type EGLNativeWindowType = *const libc::c_void; -#[cfg(any(target_os = "dragonfly", target_os = "freebsd"))] +#[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))] pub type EGLNativeWindowType = *const libc::c_void; diff --git a/src/api/egl/mod.rs b/src/api/egl/mod.rs index ca3dc2a..b9e4e38 100644 --- a/src/api/egl/mod.rs +++ b/src/api/egl/mod.rs @@ -1,5 +1,5 @@ #![cfg(any(target_os = "windows", target_os = "linux", target_os = "android", - target_os = "dragonfly", target_os = "freebsd"))] + target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))] #![allow(unused_variables)] use ContextError; |