summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index 6052b2fd..8c588ea1 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -2,16 +2,12 @@
#[cfg(target_os = "linux")]
pub mod epoll;
-#[cfg(target_os = "macos")]
-#[cfg(target_os = "ios")]
+#[cfg(any(target_os = "macos", target_os = "ios"))]
pub mod event;
#[cfg(target_os = "linux")]
pub mod eventfd;
-#[cfg(target_os = "linux")]
-#[cfg(target_os = "macos")]
-#[cfg(target_os = "ios")]
pub mod socket;
#[cfg(target_os = "linux")]