Skip to content

Commit fe6d7e6

Browse files
committed
Alphabetize OS names
1 parent 6213556 commit fe6d7e6

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
@@ -751,14 +751,14 @@ pub enum Whence {
751751
/// Specify an offset relative to the next location in the file greater than or
752752
/// equal to offset that contains some data. If offset points to
753753
/// some data, then the file offset is set to offset.
754-
#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
754+
#[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "linux"))]
755755
SeekData = libc::SEEK_DATA,
756756
/// Specify an offset relative to the next hole in the file greater than
757757
/// or equal to offset. If offset points into the middle of a hole, then
758758
/// the file offset should be set to offset. If there is no hole past offset,
759759
/// then the file offset should be adjusted to the end of the file (i.e., there
760760
/// is an implicit hole at the end of any file).
761-
#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
761+
#[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "linux"))]
762762
SeekHole = libc::SEEK_HOLE
763763
}
764764

0 commit comments

Comments
 (0)