From 4f478af16d24fd9302af352be79514339371fb0b Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 3 Mar 2021 22:56:42 +0100 Subject: Fix #80825: ZipArchive::isCompressionMethodSupported does not exist `HAVE_METHOD_SUPPORTED` should have been defined after we updated to libzip 1.7.1 months ago. --- ext/zip/config.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/zip') 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"); } -- cgit v1.2.1