From 432e9e5a2ee531ed57aa7a4ec7be0397caed2571 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 24 Dec 2016 17:41:06 +0100 Subject: build: Do not check for obsolete --- src/nvim/tui/tui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 694d7a7cb4..74187e07c0 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -974,8 +974,7 @@ static void flush_buf(UI *ui, bool toggle_cursor) static const char *tui_get_stty_erase(void) { static char stty_erase[2] = { 0 }; -#if defined(ECHOE) && defined(ICANON) \ - && (defined(HAVE_TERMIO_H) || defined(HAVE_TERMIOS_H)) +#if defined(ECHOE) && defined(ICANON) && defined(HAVE_TERMIOS_H) struct termios t; if (tcgetattr(input_global_fd(), &t) != -1) { stty_erase[0] = (char)t.c_cc[VERASE]; -- cgit