1
0
forked from aniani/vim

patch 7.4.1008

Problem:    The OS/2 code pollutes the source while nobody uses it these days.
Solution:   Drop the support for OS/2.
This commit is contained in:
Bram Moolenaar
2015-12-31 19:07:19 +01:00
parent e3303cb081
commit e7fedb6ebe
30 changed files with 126 additions and 1002 deletions

View File

@@ -3794,7 +3794,7 @@ set_one_cmd_context(xp, buff)
/* Check for environment variable */
if (*xp->xp_pattern == '$'
#if defined(MSDOS) || defined(MSWIN) || defined(OS2)
#if defined(MSDOS) || defined(MSWIN)
|| *xp->xp_pattern == '%'
#endif
)
@@ -5073,7 +5073,7 @@ expand_filename(eap, cmdlinep, errormsgp)
* For Unix and OS/2, when wildcards are expanded, this is
* done by ExpandOne() below.
*/
#if defined(UNIX) || defined(OS2)
#if defined(UNIX)
if (!has_wildcards)
#endif
backslash_halve(eap->arg);