diff options
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/termios.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sys/termios.rs b/src/sys/termios.rs index 31e7291b..d08b2541 100644 --- a/src/sys/termios.rs +++ b/src/sys/termios.rs @@ -584,9 +584,10 @@ libc_enum! { } #[cfg(all(target_os = "linux", target_arch = "sparc64"))] -pub const VMIN: SpecialCharacterIndices = SpecialCharacterIndices::VEOF; -#[cfg(all(target_os = "linux", target_arch = "sparc64"))] -pub const VTIME: SpecialCharacterIndices = SpecialCharacterIndices::VEOL; +impl SpecialCharacterIndices { + pub const VMIN: SpecialCharacterIndices = SpecialCharacterIndices::VEOF; + pub const VTIME: SpecialCharacterIndices = SpecialCharacterIndices::VEOL; +} pub use libc::NCCS; #[cfg(any(target_os = "dragonfly", |