From 30d02b88a033cf0e9bb0fd1adb4d81c5c8dc3437 Mon Sep 17 00:00:00 2001 From: Laurence Tratt Date: Fri, 29 May 2015 16:32:54 +0059 Subject: Basic OpenBSD support. Some of the tests are currently unrunnable, but the basic library is at least buildable. --- src/features.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/features.rs') diff --git a/src/features.rs b/src/features.rs index 34c41b32..f4a1f4e3 100644 --- a/src/features.rs +++ b/src/features.rs @@ -92,7 +92,7 @@ mod os { } } -#[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "ios"))] +#[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "ios", target_os = "openbsd"))] mod os { pub fn socket_atomic_cloexec() -> bool { false -- cgit v1.2.3