shadowsocks_service/local/redir/tcprelay/sys/unix/
mod.rs

1use cfg_if::cfg_if;
2
3cfg_if! {
4    if #[cfg(any(target_os = "linux", target_os = "android"))] {
5        mod linux;
6        pub use self::linux::*;
7    } else if #[cfg(any(target_os = "macos",
8                        target_os = "ios",
9                        target_os = "freebsd",
10                        target_os = "openbsd"))] {
11        mod bsd;
12        pub use self::bsd::*;
13    } else {
14        mod not_supported;
15        pub use self::not_supported::*;
16    }
17}