Forgot to change it to GetFileAttributesEx

This commit is contained in:
twinaphex 2015-10-02 03:40:20 +02:00
parent a99183e425
commit 80e129d696

View File

@ -101,7 +101,7 @@ static bool path_stat(const char *path, enum stat_mode mode, int32_t *size)
return false;
#elif defined(_WIN32)
WIN32_FILE_ATTRIBUTE_DATA file_info;
DWORD ret = GetFileAttributes(path, 0, &file_info);
DWORD ret = GetFileAttributesEx(path, 0, &file_info);
if (ret == INVALID_FILE_ATTRIBUTES)
return false;
#else