shadowsocks_service/local/redir/udprelay/sys/unix/
mod.rs1use 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(target_os = "macos")] {
8 mod macos;
9 pub use self::macos::*;
10 } else if #[cfg(any(target_os = "freebsd"))] {
11 mod freebsd;
12 pub use self::freebsd::*;
13 } else if #[cfg(target_os = "openbsd")] {
14 mod openbsd;
15 pub use self::openbsd::*;
16 } else {
17 mod not_supported;
18 pub use self::not_supported::*;
19 }
20}