Skip to content

Commit d705276

Browse files
committed
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.
1 parent 1146bdb commit d705276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zip/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (PHP_ZIP != "no") {
1515
}
1616

1717
AC_DEFINE('HAVE_ZIP', 1);
18-
ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_ENCRYPTION");
18+
ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION");
1919
} else {
2020
WARNING("zip not enabled; libraries and headers not found");
2121
}

0 commit comments

Comments
 (0)