summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--ext/zip/config.w322
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 71ed8460f5..c5d3f606ce 100644
--- a/NEWS
+++ b/NEWS
@@ -27,6 +27,10 @@ PHP NEWS
. Fixed bug #78719 (http wrapper silently ignores long Location headers).
(cmb)
+- Zip:
+ . Fixed bug #80825 (ZipArchive::isCompressionMethodSupported does not exist).
+ (cmb)
+
18 Feb 2021, PHP 8.0.3
- Core:
diff --git a/ext/zip/config.w32 b/ext/zip/config.w32
index fa4f2df18c..7ea33766f1 100644
--- a/ext/zip/config.w32
+++ b/ext/zip/config.w32
@@ -16,7 +16,7 @@ if (PHP_ZIP != "no") {
}
AC_DEFINE('HAVE_ZIP', 1);
- ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION /D HAVE_PROGRESS_CALLBACK /D HAVE_CANCEL_CALLBACK /D LZMA_API_STATIC");
+ ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION /D HAVE_PROGRESS_CALLBACK /D HAVE_CANCEL_CALLBACK /D HAVE_METHOD_SUPPORTED /D LZMA_API_STATIC");
} else {
WARNING("zip not enabled; libraries and headers not found");
}