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

@@ -10269,7 +10269,7 @@ static void f_has(typval_T *argvars, typval_T *rettv)
"mksession",
"modify_fname",
"mouse",
#if defined(UNIX) || defined(VMS)
#if defined(UNIX)
"mouse_dec",
# ifdef FEAT_MOUSE_JSB
"mouse_jsbterm",
@@ -19461,9 +19461,9 @@ repeat:
valid |= VALID_PATH;
*usedlen += 2;
/* Expand "~/path" for all systems and "~user/path" for Unix and VMS */
/* Expand "~/path" for all systems and "~user/path" for Unix */
if ((*fnamep)[0] == '~'
#if !defined(UNIX) && !(defined(VMS) && defined(USER_HOME))
#if !defined(UNIX)
&& ((*fnamep)[1] == '/'
# ifdef BACKSLASH_IN_FILENAME
|| (*fnamep)[1] == '\\'