We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b554641 commit 28ec1dbCopy full SHA for 28ec1db
ext/zip/config.m4
@@ -8,8 +8,6 @@ if test "$PHP_ZIP" != "no"; then
8
9
PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD)
10
11
- AC_DEFINE(HAVE_LIBZIP, 1, [ ])
12
-
13
PHP_CHECK_LIBRARY(zip, zip_file_set_encryption,
14
[
15
AC_DEFINE(HAVE_ENCRYPTION, 1, [Libzip >= 1.2.0 with encryption support])
ext/zip/php_zip.h
@@ -27,11 +27,7 @@ extern zend_module_entry zip_module_entry;
27
#include "TSRM.h"
28
#endif
29
30
-#if defined(HAVE_LIBZIP)
31
#include <zip.h>
32
-#else
33
-#include "lib/zip.h"
34
-#endif
35
36
#ifndef ZIP_OVERWRITE
37
#define ZIP_OVERWRITE ZIP_TRUNCATE
0 commit comments