- Backend update from Raze.
* TArray extensions * MSVC setup so that [[deprecated]] emits warnings.
This commit is contained in:
parent
3cce406bd5
commit
c598d9bab7
20 changed files with 348 additions and 29 deletions
|
|
@ -248,7 +248,7 @@ bool GetFileInfo(const char* pathname, size_t *size, time_t *time)
|
|||
bool res = _wstat64(wstr.c_str(), &info) == 0;
|
||||
#endif
|
||||
if (!res || (info.st_mode & S_IFDIR)) return false;
|
||||
if (size) *size = (size_t)info.st_size;
|
||||
if (size) *size = info.st_size;
|
||||
if (time) *time = info.st_mtime;
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue