mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Replace use of mch_rename with rename.
The macro mch_rename is no longer necessary, because C99 function rename is always available.
This commit is contained in:

committed by
Thiago de Arruda

parent
c30c9b275c
commit
c298edd5dc
@@ -251,8 +251,6 @@
|
||||
# define DFLT_MAXMEMTOT (10*1024) /* use up to 10 Mbyte for Vim */
|
||||
# endif
|
||||
|
||||
#define mch_rename(src, dst) rename(src, dst)
|
||||
|
||||
#if !defined(S_ISDIR) && defined(S_IFDIR)
|
||||
# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user