Remove code and checks for unsupported systems.

Remove remnants of support for systems including
__EMX__, MSDOS, OS2, AMIGA and MORPHOS.
This commit is contained in:
Chris Watkins
2014-04-22 22:49:52 -07:00
committed by Thiago de Arruda
parent 4e1b364a3e
commit 9da32a1f78
27 changed files with 111 additions and 295 deletions

View File

@@ -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)
/*