Windows: Move file_info_old declaration out of UNIX block #3260

This commit is contained in:
Rui Abreu Ferreira 2015-05-17 14:59:50 +01:00 committed by Justin M. Keyes
parent d50939e361
commit 8bf141dea7

View File

@ -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 {