mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +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
@@ -2810,19 +2810,6 @@ void free_scriptnames(void)
|
||||
|
||||
|
||||
#if defined(USE_CR) || defined(PROTO)
|
||||
|
||||
# if defined(__MSL__) && (__MSL__ >= 22)
|
||||
/*
|
||||
* Newer version of the Metrowerks library handle DOS and UNIX files
|
||||
* without help.
|
||||
* Test with earlier versions, MSL 2.2 is the library supplied with
|
||||
* Codewarrior Pro 2.
|
||||
*/
|
||||
char *fgets_cr(char *s, int n, FILE *stream)
|
||||
{
|
||||
return fgets(s, n, stream);
|
||||
}
|
||||
# else
|
||||
/*
|
||||
* Version of fgets() which also works for lines ending in a <CR> only
|
||||
* (Macintosh format).
|
||||
@@ -2855,7 +2842,6 @@ char *fgets_cr(char *s, int n, FILE *stream)
|
||||
|
||||
return s;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user