From a3c4aec127ce0532b0a72ba5ee2eb3096c04f56a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 22 Jan 2018 08:14:05 -0800 Subject: [PATCH] Fix compile on OSX --- src/reactor/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/reactor/mod.rs b/src/reactor/mod.rs index 8cb127c7e..c250af3af 100644 --- a/src/reactor/mod.rs +++ b/src/reactor/mod.rs @@ -860,14 +860,12 @@ mod platform { const ERROR: usize = 1 << 3; const AIO: usize = 1 << 4; - #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", - target_os = "macos"))] + #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios"))] fn is_aio(ready: &Ready) -> bool { ready.is_aio() } - #[cfg(not(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", - target_os = "macos")))] + #[cfg(not(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios")))] fn is_aio(_ready: &Ready) -> bool { false }