From b707959c2c0ae97c2225c2e6dbc07fc754125458 Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Sat, 29 Aug 2015 22:54:17 +0200 Subject: Make it work on DragonFly/FreeBSD Tested on DragonFly BSD. Should work similarily on FreeBSD. --- src/api/egl/ffi.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/api/egl/ffi.rs') diff --git a/src/api/egl/ffi.rs b/src/api/egl/ffi.rs index 6a81ada..ae02e30 100644 --- a/src/api/egl/ffi.rs +++ b/src/api/egl/ffi.rs @@ -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; -- cgit v1.2.3