1
0
forked from aniani/vim

patch 7.4.1008

Problem:    The OS/2 code pollutes the source while nobody uses it these days.
Solution:   Drop the support for OS/2.
This commit is contained in:
Bram Moolenaar
2015-12-31 19:07:19 +01:00
parent e3303cb081
commit e7fedb6ebe
30 changed files with 126 additions and 1002 deletions

View File

@@ -1772,7 +1772,7 @@ read_from_input_buf(buf, maxlen)
fill_input_buf(exit_on_error)
int exit_on_error UNUSED;
{
#if defined(UNIX) || defined(OS2) || defined(VMS) || defined(MACOS_X_UNIX)
#if defined(UNIX) || defined(VMS) || defined(MACOS_X_UNIX)
int len;
int try;
static int did_read_something = FALSE;
@@ -1796,7 +1796,7 @@ fill_input_buf(exit_on_error)
return;
}
#endif
#if defined(UNIX) || defined(OS2) || defined(VMS) || defined(MACOS_X_UNIX)
#if defined(UNIX) || defined(VMS) || defined(MACOS_X_UNIX)
if (vim_is_input_buf_full())
return;
/*
@@ -1940,9 +1940,9 @@ fill_input_buf(exit_on_error)
++inbufcount;
}
}
#endif /* UNIX or OS2 or VMS*/
#endif /* UNIX or VMS*/
}
#endif /* defined(UNIX) || defined(FEAT_GUI) || defined(OS2) || defined(VMS) */
#endif /* defined(UNIX) || defined(FEAT_GUI) || defined(VMS) */
/*
* Exit because of an input read error.