From c8d57e25e94dba23837d7ed10d681faeba5d98d2 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Tue, 18 Nov 2014 00:09:46 -0500 Subject: Remove NeXTSTEP references Remove trailing whitespace as well. --- src/nvim/os_unix.c | 6 ++---- src/nvim/os_unix_defs.h | 10 +++------- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c index 3bf1198b46..fb65f8603f 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -569,9 +569,8 @@ void mch_settmode(int tmode) { static int first = TRUE; - /* Why is NeXT excluded here (and not in os_unixx.h)? */ #if defined(ECHOE) && defined(ICANON) && (defined(HAVE_TERMIO_H) || \ - defined(HAVE_TERMIOS_H)) && !defined(__NeXT__) + defined(HAVE_TERMIOS_H)) /* * for "new" tty systems */ @@ -667,9 +666,8 @@ void get_stty(void) char_u buf[2]; char_u *p; - /* Why is NeXT excluded here (and not in os_unixx.h)? */ #if defined(ECHOE) && defined(ICANON) && (defined(HAVE_TERMIO_H) || \ - defined(HAVE_TERMIOS_H)) && !defined(__NeXT__) + defined(HAVE_TERMIOS_H)) /* for "new" tty systems */ # ifdef HAVE_TERMIOS_H struct termios keys; diff --git a/src/nvim/os_unix_defs.h b/src/nvim/os_unix_defs.h index 2a44ec3412..ebea86ebcf 100644 --- a/src/nvim/os_unix_defs.h +++ b/src/nvim/os_unix_defs.h @@ -8,17 +8,13 @@ * Do ":help credits" in Vim to see a list of people who contributed. */ -/* - * NextStep has a problem with configure, undefine a few things: - */ - #include #include -# include -# include +#include +#include -# include +#include #ifdef HAVE_UNISTD_H # include -- cgit