mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
remove HAVE_RENAME
rename is a C99 standard function.
This commit is contained in:

committed by
Thiago de Arruda

parent
3da084d612
commit
a96f2949cc
@@ -253,11 +253,7 @@
|
||||
# define DFLT_MAXMEMTOT (10*1024) /* use up to 10 Mbyte for Vim */
|
||||
# endif
|
||||
|
||||
# ifdef HAVE_RENAME
|
||||
# define mch_rename(src, dst) rename(src, dst)
|
||||
# else
|
||||
int mch_rename(const char *src, const char *dest);
|
||||
# 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)
|
||||
|
Reference in New Issue
Block a user