From e3249fc6abb1cd45f4bf93f90f956617ea3d3b58 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Fri, 25 Mar 2016 06:06:44 +0000 Subject: [PATCH] Fix windows build for sys::fs:file_status Access Time added in r264387 From: Mehdi Amini llvm-svn: 264388 --- llvm/lib/Support/Windows/Path.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index 6c08be9..24f2fa5 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/lib/Support/Windows/Path.inc @@ -416,8 +416,8 @@ static std::error_code getStatus(HANDLE FileHandle, file_status &Result) { ? file_type::directory_file : file_type::regular_file; Result = - file_status(Type, Info.lpLastAccessTime.dwHighDateTime, - Info.lpLastAccessTime.dwLowDateTime, + file_status(Type, Info.ftLastAccessTime.dwHighDateTime, + Info.ftLastAccessTime.dwLowDateTime, Info.ftLastWriteTime.dwHighDateTime, Info.ftLastWriteTime.dwLowDateTime, Info.dwVolumeSerialNumber, Info.nFileSizeHigh, -- 2.7.4