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

@@ -94,10 +94,6 @@
*/
#define vim_isbreak(c) (breakat_flags[(char_u)(c)])
/*
* On VMS file names are different and require a translation.
* On the Mac open() has only two arguments.
*/
# define mch_fopen(n, p) fopen((n), (p))
# define mch_fstat(n, p) fstat((n), (p))
# ifdef STAT_IGNORES_SLASH
@@ -117,7 +113,7 @@
# define mch_open(n, m, p) open((n), (m), (p))
/* mch_open_rw(): invoke mch_open() with third argument for user R/W. */
#if defined(UNIX) || defined(VMS) /* open in rw------- mode */
#if defined(UNIX) /* open in rw------- mode */
# define mch_open_rw(n, f) mch_open((n), (f), (mode_t)0600)
#else
# define mch_open_rw(n, f) mch_open((n), (f), 0)