From a230717fbb3f71c83e7c82263f4e3517b19d854f Mon Sep 17 00:00:00 2001 From: talyz Date: Wed, 3 Jun 2020 21:21:18 +0200 Subject: [PATCH] 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. --- ext/mysqlnd/mysqlnd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0