From: Thomas Karpiniec Date: Tue, 18 Jun 2024 10:41:41 +0000 (+1000) Subject: Add watch target for Android X-Git-Tag: v0.1.0~10 X-Git-Url: https://code.octet-stream.net/netwatcher/commitdiff_plain/fd5b83a034dd0cc1751ddbfe1df813fdf798b8b1?ds=sidebyside;hp=325d5d14560f2190818d6826366dfe88d3857302 Add watch target for Android --- diff --git a/src/lib.rs b/src/lib.rs index cb3a117..08a0a36 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,7 @@ mod list; #[cfg_attr(windows, path = "watch_win.rs")] #[cfg_attr(target_vendor = "apple", path = "watch_mac.rs")] -#[cfg_attr(target_os = "linux", path = "watch_linux.rs")] +#[cfg_attr(any(target_os = "linux", target_os = "android"), path = "watch_linux.rs")] mod watch; type IfIndex = u32;