Mercurial > vim
changeset 5743:bf1775553d3b v7.4.216
updated for version 7.4.216
Problem: Compiler warnings. (Tony Mechelynck)
Solution: Initialize variables, add #ifdef.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 25 Mar 2014 13:46:26 +0100 |
parents | d3a535c128a9 |
children | 4060b1e16cf1 |
files | src/os_unix.h src/term.c src/version.c |
diffstat | 3 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_unix.h +++ b/src/os_unix.h @@ -565,7 +565,9 @@ int mch_rename __ARGS((const char *src, # endif #endif -#define HAVE_DUP /* have dup() */ +#ifndef HAVE_DUP +# define HAVE_DUP /* have dup() */ +#endif #define HAVE_ST_MODE /* have stat.st_mode */ /* We have three kinds of ACL support. */