diff --git a/src/sys/time.rs b/src/sys/time.rs index 86cf000295..d5e9f3a6b2 100644 --- a/src/sys/time.rs +++ b/src/sys/time.rs @@ -97,12 +97,7 @@ pub(crate) mod timer { const TFD_TIMER_CANCEL_ON_SET = libc::TFD_TIMER_CANCEL_ON_SET; } } - #[cfg(any( - target_os = "freebsd", - target_os = "netbsd", - target_os = "dragonfly", - target_os = "illumos" - ))] + #[cfg(any(freebsdlike, target_os = "netbsd", target_os = "illumos"))] bitflags! { /// Flags that are used for arming the timer. #[derive(Copy, Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]