mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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).
|
* Get information about original file (if there is one).
|
||||||
*/
|
*/
|
||||||
|
FileInfo file_info_old;
|
||||||
#if defined(UNIX)
|
#if defined(UNIX)
|
||||||
perm = -1;
|
perm = -1;
|
||||||
FileInfo file_info_old;
|
|
||||||
if (!os_fileinfo((char *)fname, &file_info_old)) {
|
if (!os_fileinfo((char *)fname, &file_info_old)) {
|
||||||
newfile = TRUE;
|
newfile = TRUE;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user