aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-12-24 17:41:06 +0100
committerJustin M. Keyes <justinkz@gmail.com>2016-12-24 17:41:06 +0100
commit432e9e5a2ee531ed57aa7a4ec7be0397caed2571 (patch)
tree5fa4ae197071b080b41f19e123f54db25cf7141b /src
parentcdcf5d2039d5149d8e5d06347400af916b907808 (diff)
downloadrneovim-432e9e5a2ee531ed57aa7a4ec7be0397caed2571.tar.gz
rneovim-432e9e5a2ee531ed57aa7a4ec7be0397caed2571.tar.bz2
rneovim-432e9e5a2ee531ed57aa7a4ec7be0397caed2571.zip
build: Do not check for obsolete <termio.h>
Diffstat (limited to 'src')
-rw-r--r--src/nvim/tui/tui.c3
1 files changed, 1 insertions, 2 deletions
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];