summaryrefslogtreecommitdiff
path: root/src/sys/sendfile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/sendfile.rs')
-rw-r--r--src/sys/sendfile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/sendfile.rs b/src/sys/sendfile.rs
index 0f64749a..a12c0411 100644
--- a/src/sys/sendfile.rs
+++ b/src/sys/sendfile.rs
@@ -45,7 +45,7 @@ pub fn sendfile(
/// `in_fd` must support `mmap`-like operations and therefore cannot be a socket.
///
/// For more information, see [the sendfile(2) man page.](https://man7.org/linux/man-pages/man2/sendfile.2.html)
-#[cfg(any(target_os = "android", target_os = "linux"))]
+#[cfg(target_os = "linux")]
pub fn sendfile64(
out_fd: RawFd,
in_fd: RawFd,