From 74a28adba2a07d56bce9592f24196442192e68e0 Mon Sep 17 00:00:00 2001 From: Kirill Zdornyy Date: Tue, 1 Mar 2016 18:06:13 -0800 Subject: Fix this_platform_is_not_supported on OpenBSD. I followed the steps of @mneumann. --- src/api/x11/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/x11') diff --git a/src/api/x11/mod.rs b/src/api/x11/mod.rs index 54626fe..3dc31b5 100644 --- a/src/api/x11/mod.rs +++ b/src/api/x11/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"))] pub use self::monitor::{MonitorId, get_available_monitors, get_primary_monitor}; pub use self::window::{Window, XWindow, PollEventsIterator, WaitEventsIterator, Context, WindowProxy}; -- cgit v1.2.3