projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1146bdb
)
Enable support for LIBZIP_VERSION
author
Christoph M. Becker
<cmbecker69@gmx.de>
Tue, 28 Jan 2020 12:30:53 +0000
(13:30 +0100)
committer
Christoph M. Becker
<cmbecker69@gmx.de>
Tue, 28 Jan 2020 12:34:07 +0000
(13:34 +0100)
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
patch
|
blob
|
history
diff --git
a/ext/zip/config.w32
b/ext/zip/config.w32
index 2ac637189c65a0f3b881f724b1e2e6d183f07aca..034543fabd8cf9207f477eac509e29d799b4adb4 100644
(file)
--- 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");
}