Mercurial > vim
diff src/ui.c @ 7408:1886f2863437 v7.4.1008
commit https://github.com/vim/vim/commit/e7fedb6ebe72d9a475aa65109b77d5ed4667067a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 31 19:07:19 2015 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Dec 2015 19:15:05 +0100 |
parents | 2c00f6b312bf |
children | 6069f43cea4e |
line wrap: on
line diff
--- a/src/ui.c +++ b/src/ui.c @@ -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.