mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
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:

committed by
Thiago de Arruda

parent
4e1b364a3e
commit
9da32a1f78
@@ -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)
|
||||
|
Reference in New Issue
Block a user