summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2020-06-03 21:21:18 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-04 10:01:17 +0200
commita230717fbb3f71c83e7c82263f4e3517b19d854f (patch)
treeabeb2d3ab57d2011deafb857ada6374676234d29
parent5e38a1b352648f574754eab2c4ffc0421e75c9fe (diff)
downloadphp-git-a230717fbb3f71c83e7c82263f4e3517b19d854f.tar.gz
mysqlnd: Remove unnecessary check for HAVE_ZLIB
If MYSQLND_COMPRESSION_WANTED is set, we already guarantee that zlib is linked, but don't necessarily set HAVE_ZLIB. Closes GH-5658.
-rw-r--r--ext/mysqlnd/mysqlnd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd.h b/ext/mysqlnd/mysqlnd.h
index 77cbce93ae..f5c4cf6137 100644
--- a/ext/mysqlnd/mysqlnd.h
+++ b/ext/mysqlnd/mysqlnd.h
@@ -48,7 +48,7 @@
#define MYSQLND_DBG_ENABLED 0
#endif
-#if defined(MYSQLND_COMPRESSION_WANTED) && defined(HAVE_ZLIB)
+#if defined(MYSQLND_COMPRESSION_WANTED)
#define MYSQLND_COMPRESSION_ENABLED 1
#endif