From 9da32a1f78fe075663466ac1349cb1495420591f Mon Sep 17 00:00:00 2001 From: Chris Watkins Date: Tue, 22 Apr 2014 22:49:52 -0700 Subject: Remove code and checks for unsupported systems. Remove remnants of support for systems including __EMX__, MSDOS, OS2, AMIGA and MORPHOS. --- src/ui.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index c6ef85bd0d..799059aeea 100644 --- a/src/ui.c +++ b/src/ui.c @@ -61,7 +61,7 @@ void ui_write(char_u *s, int len) #endif } -#if defined(UNIX) || defined(VMS) || defined(PROTO) || defined(WIN3264) +#if defined(UNIX) || defined(PROTO) || defined(WIN3264) /* * When executing an external program, there may be some typed characters that * are not consumed by it. Give them back to ui_inchar() and they are stored @@ -344,8 +344,7 @@ void set_input_buf(char_u *p) #if defined(FEAT_GUI) \ || defined(FEAT_MOUSE_GPM) || defined(FEAT_SYSMOUSE) \ - || defined(FEAT_XCLIPBOARD) || defined(VMS) \ - || defined(PROTO) + || defined(FEAT_XCLIPBOARD) || defined(PROTO) /* * Add the given bytes to the input buffer * Special keys start with CSI. A real CSI must have been translated to @@ -428,7 +427,7 @@ int read_from_input_buf(char_u *buf, long maxlen) void fill_input_buf(int exit_on_error) { -#if defined(UNIX) || defined(OS2) || defined(VMS) || defined(MACOS_X_UNIX) +#if defined(UNIX) || defined(MACOS_X_UNIX) int len; int try; static char_u *rest = NULL; /* unconverted rest of previous read */ @@ -436,7 +435,7 @@ void fill_input_buf(int exit_on_error) int unconverted; #endif -#if defined(UNIX) || defined(OS2) || defined(VMS) || defined(MACOS_X_UNIX) +#if defined(UNIX) || defined(MACOS_X_UNIX) if (vim_is_input_buf_full()) return; /* @@ -514,9 +513,9 @@ void fill_input_buf(int exit_on_error) ++inbufcount; } } -#endif /* UNIX or OS2 or VMS*/ +#endif /* UNIX */ } -#endif /* defined(UNIX) || defined(FEAT_GUI) || defined(OS2) || defined(VMS) */ +#endif /* defined(UNIX) || defined(FEAT_GUI) */ /* * Exit because of an input read error. @@ -567,11 +566,6 @@ int check_row(int row) } #endif -/* - * Stuff for the X clipboard. Shared between VMS and Unix. - */ - - #if defined(FEAT_XCLIPBOARD) || defined(FEAT_GUI_X11) \ || defined(FEAT_GUI_GTK) || defined(PROTO) /* -- cgit