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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user