Skip to content

Commit d918edc

Browse files
committed
Expose SEEK_DATA and SEEK_HOLE on Android
Signed-off-by: Andrew Gunnerson <[email protected]>
1 parent e1e630f commit d918edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unistd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,9 +1404,9 @@ pub enum Whence {
14041404
#[cfg(any(
14051405
apple_targets,
14061406
freebsdlike,
1407+
linux_android,
14071408
solarish,
14081409
target_os = "hurd",
1409-
target_os = "linux",
14101410
))]
14111411
SeekData = libc::SEEK_DATA,
14121412
/// Specify an offset relative to the next hole in the file greater than
@@ -1417,9 +1417,9 @@ pub enum Whence {
14171417
#[cfg(any(
14181418
apple_targets,
14191419
freebsdlike,
1420+
linux_android,
14201421
solarish,
14211422
target_os = "hurd",
1422-
target_os = "linux",
14231423
))]
14241424
SeekHole = libc::SEEK_HOLE,
14251425
}

0 commit comments

Comments
 (0)