diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2015-05-17 14:59:50 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-08-31 03:08:33 -0400 |
commit | 8bf141dea7721c5c5a40b5b65e0cda3da2989d48 (patch) | |
tree | ad704da81f9484a4b95c92362608a4ea7a4d2d19 | |
parent | d50939e3619bf0e8783a46e81bff3d472dd6385c (diff) | |
download | rneovim-8bf141dea7721c5c5a40b5b65e0cda3da2989d48.tar.gz rneovim-8bf141dea7721c5c5a40b5b65e0cda3da2989d48.tar.bz2 rneovim-8bf141dea7721c5c5a40b5b65e0cda3da2989d48.zip |
Windows: Move file_info_old declaration out of UNIX block #3260
-rw-r--r-- | src/nvim/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 7689b750c5..732ea610ee 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -2563,9 +2563,9 @@ buf_write ( /* * Get information about original file (if there is one). */ + FileInfo file_info_old; #if defined(UNIX) perm = -1; - FileInfo file_info_old; if (!os_fileinfo((char *)fname, &file_info_old)) { newfile = TRUE; } else { |