aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
-rw-r--r--src/os_unix_defs.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index f98ed4ecb9..396f0a728c 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5622,7 +5622,7 @@ void vim_deltempdir(void)
FreeWild(file_count, files);
}
path_tail(NameBuff)[-1] = NUL;
- (void)mch_rmdir(NameBuff);
+ os_rmdir((char *)NameBuff);
vim_free(vim_tempdir);
vim_tempdir = NULL;
diff --git a/src/os_unix_defs.h b/src/os_unix_defs.h
index f4ae6b95ba..1e5708da53 100644
--- a/src/os_unix_defs.h
+++ b/src/os_unix_defs.h
@@ -31,7 +31,6 @@
#endif
#define vim_mkdir(x, y) os_mkdir((char *)(x), (y))
-#define mch_rmdir(x) os_rmdir((char *)(x))
/* The number of arguments to a signal handler is configured here. */
/* It used to be a long list of almost all systems. Any system that doesn't