removed mch_rmdir macro

This commit is contained in:
Stefan Hoffmann
2014-04-08 22:31:23 +02:00
committed by Thiago de Arruda
parent a1df458524
commit 96ddc0198d
2 changed files with 1 additions and 2 deletions

View File

@@ -5622,7 +5622,7 @@ void vim_deltempdir(void)
FreeWild(file_count, files); FreeWild(file_count, files);
} }
path_tail(NameBuff)[-1] = NUL; path_tail(NameBuff)[-1] = NUL;
(void)mch_rmdir(NameBuff); os_rmdir((char *)NameBuff);
vim_free(vim_tempdir); vim_free(vim_tempdir);
vim_tempdir = NULL; vim_tempdir = NULL;

View File

@@ -31,7 +31,6 @@
#endif #endif
#define vim_mkdir(x, y) os_mkdir((char *)(x), (y)) #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. */ /* 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 /* It used to be a long list of almost all systems. Any system that doesn't