File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 1+ Add ` SeekData ` and ` SeekHole ` to ` Whence ` for hurd and apple targets
Original file line number Diff line number Diff line change @@ -1426,8 +1426,10 @@ pub enum Whence {
14261426 /// equal to offset that contains some data. If offset points to
14271427 /// some data, then the file offset is set to offset.
14281428 #[ cfg( any(
1429+ apple_targets,
14291430 freebsdlike,
14301431 solarish,
1432+ target_os = "hurd" ,
14311433 target_os = "linux" ,
14321434 ) ) ]
14331435 SeekData = libc:: SEEK_DATA ,
@@ -1437,8 +1439,10 @@ pub enum Whence {
14371439 /// then the file offset should be adjusted to the end of the file (i.e., there
14381440 /// is an implicit hole at the end of any file).
14391441 #[ cfg( any(
1442+ apple_targets,
14401443 freebsdlike,
14411444 solarish,
1445+ target_os = "hurd" ,
14421446 target_os = "linux" ,
14431447 ) ) ]
14441448 SeekHole = libc:: SEEK_HOLE ,
You can’t perform that action at this time.
0 commit comments