summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-12-31 19:07:19 +0100
committerBram Moolenaar <Bram@vim.org>2015-12-31 19:07:19 +0100
commite7fedb6ebe72d9a475aa65109b77d5ed4667067a (patch)
tree19327fc9d1ca538d9c5c81c7284adf492e790e6d /src/ex_docmd.c
parente3303cb0817e826e3c25d5dc4ac10b569d0841e1 (diff)
patch 7.4.1008v7.4.1008
Problem: The OS/2 code pollutes the source while nobody uses it these days. Solution: Drop the support for OS/2.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 31b51e99d6..0e8e7bda10 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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);