Skip to content

Commit a230717

Browse files
talyznikic
authored andcommitted
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.
1 parent 5e38a1b commit a230717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#define MYSQLND_DBG_ENABLED 0
4949
#endif
5050

51-
#if defined(MYSQLND_COMPRESSION_WANTED) && defined(HAVE_ZLIB)
51+
#if defined(MYSQLND_COMPRESSION_WANTED)
5252
#define MYSQLND_COMPRESSION_ENABLED 1
5353
#endif
5454

0 commit comments

Comments
 (0)