From d7052765ed0b3b957ba4562f900ee528c132f78b Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 28 Jan 2020 13:30:53 +0100 Subject: [PATCH] Enable support for LIBZIP_VERSION This is already supported by non Windows builds for libzip >= 1.3.1, and since we're using at least libzip 1.4.0 on Windows, we should support it there as well. --- ext/zip/config.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/zip/config.w32 b/ext/zip/config.w32 index 2ac637189c..034543fabd 100644 --- a/ext/zip/config.w32 +++ b/ext/zip/config.w32 @@ -15,7 +15,7 @@ if (PHP_ZIP != "no") { } AC_DEFINE('HAVE_ZIP', 1); - ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_ENCRYPTION"); + ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION"); } else { WARNING("zip not enabled; libraries and headers not found"); } -- 2.50.1