Remove NeXTSTEP references

Remove trailing whitespace as well.
This commit is contained in:
Michael Reed
2014-11-18 00:09:46 -05:00
parent 68cee4c28d
commit c8d57e25e9
2 changed files with 5 additions and 11 deletions

View File

@@ -569,9 +569,8 @@ void mch_settmode(int tmode)
{ {
static int first = TRUE; static int first = TRUE;
/* Why is NeXT excluded here (and not in os_unixx.h)? */
#if defined(ECHOE) && defined(ICANON) && (defined(HAVE_TERMIO_H) || \ #if defined(ECHOE) && defined(ICANON) && (defined(HAVE_TERMIO_H) || \
defined(HAVE_TERMIOS_H)) && !defined(__NeXT__) defined(HAVE_TERMIOS_H))
/* /*
* for "new" tty systems * for "new" tty systems
*/ */
@@ -667,9 +666,8 @@ void get_stty(void)
char_u buf[2]; char_u buf[2];
char_u *p; char_u *p;
/* Why is NeXT excluded here (and not in os_unixx.h)? */
#if defined(ECHOE) && defined(ICANON) && (defined(HAVE_TERMIO_H) || \ #if defined(ECHOE) && defined(ICANON) && (defined(HAVE_TERMIO_H) || \
defined(HAVE_TERMIOS_H)) && !defined(__NeXT__) defined(HAVE_TERMIOS_H))
/* for "new" tty systems */ /* for "new" tty systems */
# ifdef HAVE_TERMIOS_H # ifdef HAVE_TERMIOS_H
struct termios keys; struct termios keys;

View File

@@ -8,17 +8,13 @@
* Do ":help credits" in Vim to see a list of people who contributed. * Do ":help credits" in Vim to see a list of people who contributed.
*/ */
/*
* NextStep has a problem with configure, undefine a few things:
*/
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
# include <sys/types.h> #include <sys/types.h>
# include <sys/stat.h> #include <sys/stat.h>
# include <stdlib.h> #include <stdlib.h>
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>