diff options
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r-- | src/sys/mod.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs index db03dece..e75e9d88 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -49,8 +49,11 @@ pub mod reboot; pub mod select; -// TODO: Add support for dragonfly, freebsd, and ios/macos. -#[cfg(any(target_os = "android", target_os = "linux"))] +#[cfg(any(target_os = "android", + target_os = "freebsd", + target_os = "ios", + target_os = "linux", + target_os = "macos"))] pub mod sendfile; pub mod signal; |