Skip to content

Commit 7c7993b

Browse files
committed
sys: termios: Use associated constants for VMIN and VTIME on sparc64
1 parent c4b2c6f commit 7c7993b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sys/termios.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -581,12 +581,12 @@ libc_enum! {
581581
#[cfg(target_os = "dragonfly")]
582582
VCHECKPT,
583583
}
584-
}
585584

586-
#[cfg(all(target_os = "linux", target_arch = "sparc64"))]
587-
pub const VMIN: SpecialCharacterIndices = SpecialCharacterIndices::VEOF;
588-
#[cfg(all(target_os = "linux", target_arch = "sparc64"))]
589-
pub const VTIME: SpecialCharacterIndices = SpecialCharacterIndices::VEOL;
585+
#[cfg(all(target_os = "linux", target_arch = "sparc64"))]
586+
pub const VMIN: SpecialCharacterIndices = SpecialCharacterIndices::VEOF;
587+
#[cfg(all(target_os = "linux", target_arch = "sparc64"))]
588+
pub const VTIME: SpecialCharacterIndices = SpecialCharacterIndices::VEOL;
589+
}
590590

591591
pub use libc::NCCS;
592592
#[cfg(any(target_os = "dragonfly",

0 commit comments

Comments
 (0)