mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
Windows: Move file_info_old declaration out of UNIX block #3260
This commit is contained in:
parent
d50939e361
commit
8bf141dea7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user