]> code.octet-stream.net Git - netwatcher/blobdiff - src/lib.rs
List interfaces on Mac
[netwatcher] / src / lib.rs
index af5b7aff2e083b82ad672f82494b4e4a8c86db98..9f82092e8d7dc9e5a74da68b09349b98347690cd 100644 (file)
@@ -4,7 +4,9 @@ use std::{
 };
 
 #[cfg_attr(windows, path = "imp_win.rs")]
 };
 
 #[cfg_attr(windows, path = "imp_win.rs")]
+#[cfg_attr(target_vendor = "apple", path = "imp_mac.rs")]
 mod imp;
 mod imp;
+mod util;
 
 type IfIndex = u32;
 
 
 type IfIndex = u32;