From e7fedb6ebe72d9a475aa65109b77d5ed4667067a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 31 Dec 2015 19:07:19 +0100 Subject: 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. --- src/ui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 5438a38c5..f622f0418 100644 --- 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. -- cgit v1.2.1