Skip to content

Commit ca40ec2

Browse files
authored
ext/zlib: Remove unused ZLIB_EXPORTS (php#20400)
This macro was probably once used in zconf.h on Windows in some custom(ized) zlib versions. Current zlib versions don't use this macro anywhere - zlib.net, winlibs...
1 parent 423e50c commit ca40ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zlib/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if (PHP_ZLIB == "yes") {
66
if (CHECK_LIB("zlib_a.lib;zlib.lib", "zlib", PHP_ZLIB) &&
77
CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects)) {
88

9-
EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", PHP_ZLIB_SHARED, "/D ZLIB_EXPORTS /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
9+
EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", PHP_ZLIB_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
1010
AC_DEFINE("HAVE_ZLIB", 1, "Define to 1 if the PHP extension 'zlib' is available.");
1111

1212
if (!PHP_ZLIB_SHARED) {

0 commit comments

Comments
 (0)