mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Fix this_platform_is_not_supported on OpenBSD.
I followed the steps of @mneumann.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user