aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix_defs.h
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2014-04-01 17:09:53 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-02 18:52:16 -0300
commitc298edd5dc2484d41ea4620d1d0172042b647a36 (patch)
treee8adb8673434d5ad4703f540ec3c08191fdd1159 /src/os_unix_defs.h
parentc30c9b275c7e4dec65fbe01b8037fc6f0227610e (diff)
downloadrneovim-c298edd5dc2484d41ea4620d1d0172042b647a36.tar.gz
rneovim-c298edd5dc2484d41ea4620d1d0172042b647a36.tar.bz2
rneovim-c298edd5dc2484d41ea4620d1d0172042b647a36.zip
Replace use of mch_rename with rename.
The macro mch_rename is no longer necessary, because C99 function rename is always available.
Diffstat (limited to 'src/os_unix_defs.h')
-rw-r--r--src/os_unix_defs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/os_unix_defs.h b/src/os_unix_defs.h
index fd7bc66def..9ce17410b0 100644
--- a/src/os_unix_defs.h
+++ b/src/os_unix_defs.h
@@ -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