- Backend update from Raze.

* TArray extensions
* MSVC setup so that [[deprecated]] emits warnings.
This commit is contained in:
Christoph Oelckers 2021-11-12 09:36:19 +01:00
commit c598d9bab7
20 changed files with 348 additions and 29 deletions

View file

@ -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;
}