diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-03-03 22:56:42 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-03-03 22:56:42 +0100 |
commit | 4f478af16d24fd9302af352be79514339371fb0b (patch) | |
tree | b514afd5eb5e5fcd4be907086c873fb62cdd6ed0 /ext/zip | |
parent | 303a4ae44a332bb693ef3f54f75a6e6bc63400c8 (diff) | |
download | php-git-4f478af16d24fd9302af352be79514339371fb0b.tar.gz |
Fix #80825: ZipArchive::isCompressionMethodSupported does not exist
`HAVE_METHOD_SUPPORTED` should have been defined after we updated to
libzip 1.7.1 months ago.
Diffstat (limited to 'ext/zip')
-rw-r--r-- | ext/zip/config.w32 | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |