commit | c410530637aad9e7ab187e1fb0ffc6c3de2b5b20 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 25 13:46:26 2014 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 25 13:46:26 2014 +0100 |
tree | 8baed22f061255a8388230e328d77ba6494b9c5c | |
parent | 7b44934037cf2a603df8c9dcd6f82cdde4ec4940 [diff] [blame] |
updated for version 7.4.216 Problem: Compiler warnings. (Tony Mechelynck) Solution: Initialize variables, add #ifdef.
diff --git a/src/os_unix.h b/src/os_unix.h index d025200..4a35338 100644 --- a/src/os_unix.h +++ b/src/os_unix.h
@@ -565,7 +565,9 @@ # 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. */