mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Make it work on DragonFly/FreeBSD
Tested on DragonFly BSD. Should work similarily on FreeBSD.
This commit is contained in:
@@ -33,3 +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"))]
|
||||
pub type EGLNativeWindowType = *const libc::c_void;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#![cfg(any(target_os = "windows", target_os = "linux", target_os = "android"))]
|
||||
#![cfg(any(target_os = "windows", target_os = "linux", target_os = "android",
|
||||
target_os = "dragonfly", target_os = "freebsd"))]
|
||||
#![allow(unused_variables)]
|
||||
|
||||
use BuilderAttribs;
|
||||
|
||||
Reference in New Issue
Block a user