diff --git a/src/size.rs b/src/size.rs index 75ff072..19f377b 100644 --- a/src/size.rs +++ b/src/size.rs @@ -31,19 +31,11 @@ fn tiocgwinsz() -> u32 { } #[cfg(any(target_env = "musl", target_os = "android"))] -#[cfg(target_pointer_width = "32")] fn tiocgwinsz() -> i32 { use termios::TIOCGWINSZ; TIOCGWINSZ as i32 } -#[cfg(target_os = "android")] -#[cfg(target_pointer_width = "64")] -fn tiocgwinsz() -> i64 { - use termios::TIOCGWINSZ; - TIOCGWINSZ as i64 -} - /// Get the size of the terminal. #[cfg(not(target_os = "redox"))] pub fn terminal_size() -> io::Result<(u16, u16)> {