X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/74d0fddfbb570514118b4ddc228ce19ccd8bb969..9ea683eddb05362f02bca60e4337955dfc5871dc:/src/lib.rs diff --git a/src/lib.rs b/src/lib.rs index 47c5ae1..46218d2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,14 +5,14 @@ use std::{ }; #[cfg_attr(windows, path = "list_win.rs")] -#[cfg_attr(target_vendor = "apple", path = "list_mac.rs")] +#[cfg_attr(unix, path = "list_unix.rs")] mod list; #[cfg_attr(windows, path = "watch_win.rs")] #[cfg_attr(target_vendor = "apple", path = "watch_mac.rs")] mod watch; -#[cfg(target_vendor = "apple")] +#[cfg(unix)] mod util; type IfIndex = u32;