diff options
author | oni-link <knil.ino@gmail.com> | 2014-04-01 12:46:00 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-02 18:52:16 -0300 |
commit | a96f2949ccd01482beb3c88c7d183f3b9d7720fc (patch) | |
tree | cef9990bf9f114fffb83a051a470558df201d8a0 /src/os_unix_defs.h | |
parent | 3da084d61288f0776c993e62d6ce360f815b16e0 (diff) | |
download | rneovim-a96f2949ccd01482beb3c88c7d183f3b9d7720fc.tar.gz rneovim-a96f2949ccd01482beb3c88c7d183f3b9d7720fc.tar.bz2 rneovim-a96f2949ccd01482beb3c88c7d183f3b9d7720fc.zip |
remove HAVE_RENAME
rename is a C99 standard function.
Diffstat (limited to 'src/os_unix_defs.h')
-rw-r--r-- | src/os_unix_defs.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/os_unix_defs.h b/src/os_unix_defs.h index cb7d888bb1..94ff9ffb68 100644 --- a/src/os_unix_defs.h +++ b/src/os_unix_defs.h @@ -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) |