mirror of
https://github.com/facebook/zstd.git
synced 2025-08-08 17:22:10 +03:00
Fix MS Build
This commit is contained in:
@@ -514,7 +514,7 @@ static int FIO_removeFile(const char* path)
|
||||
#if defined(_WIN32) || defined(WIN32)
|
||||
/* windows doesn't allow remove read-only files,
|
||||
* so try to make it writable first */
|
||||
if (!(statbuf.mode & _S_IWRITE)) {
|
||||
if (!(statbuf.st_mode & _S_IWRITE)) {
|
||||
UTIL_chmod(path, &statbuf, _S_IWRITE);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user