summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/misc1.c b/src/misc1.c
index eb893f6ee..f33fd3b9e 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -4334,12 +4334,8 @@ vim_getenv(char_u *name, int *mustfree)
}
/* remove trailing path separator */
-#ifndef MACOS_CLASSIC
- /* With MacOS path (with colons) the final colon is required */
- /* to avoid confusion between absolute and relative path */
if (pend > p && after_pathsep(p, pend))
--pend;
-#endif
#ifdef MACOS_X
if (p == exe_name || p == p_hf)
@@ -4499,9 +4495,9 @@ get_env_name(
expand_T *xp UNUSED,
int idx)
{
-# if defined(AMIGA) || defined(__MRC__) || defined(__SC__)
+# if defined(AMIGA)
/*
- * No environ[] on the Amiga and on the Mac (using MPW).
+ * No environ[] on the Amiga.
*/
return NULL;
# else
@@ -10996,9 +10992,6 @@ gen_expand_wildcards(
{
char_u *t = backslash_halve_save(p);
-#if defined(MACOS_CLASSIC)
- slash_to_colon(t);
-#endif
/* When EW_NOTFOUND is used, always add files and dirs. Makes
* "vim c:/" work. */
if (flags & EW_NOTFOUND)