Skip to content

Commit 7e1c355

Browse files
committed
Fix compilation errors without zlib library
1 parent 0dd30a6 commit 7e1c355

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/swoole_server.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ struct Connection {
8484
uint8_t high_watermark;
8585
uint8_t http_upgrade;
8686
uint8_t http2_stream;
87-
#ifdef SW_HAVE_ZLIB
8887
uint8_t websocket_compression;
89-
#endif
9088
// If it is equal to 1, it means server actively closed the connection
9189
uint8_t close_actively;
9290
uint8_t closed;

0 commit comments

Comments
 (0)