Update zip.c (#230)

This commit is contained in:
Kuba Podgórski 2022-01-13 02:43:17 +01:00 committed by GitHub
parent 11cc5c6d30
commit 2652bd2bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -379,7 +379,7 @@ static int zip_archive_extract(mz_zip_archive *zip_archive, const char *dir,
}
}
#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(PS4)
(void)xattr; // unused
#else
xattr = (info.m_external_attr >> 16) & 0xFFFF;
@ -1462,7 +1462,7 @@ int zip_entry_fread(struct zip_t *zip, const char *filename) {
return ZIP_ENOFILE;
}
#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(PS4)
(void)xattr; // unused
#else
if (!mz_zip_reader_file_stat(pzip, idx, &info)) {