mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
src,zlib: tighten up Z_*_WINDOWBITS macros
PR-URL: https://github.com/nodejs/node/pull/39115 Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
6a7db9aad1
commit
f179eb01af
2 files changed
+3
-5
No files matched your search
@@ -39,11 +39,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// Custom constants used by both node_constants.cc and node_zlib.cc
|
||||
#define Z_MIN_WINDOWBITS 8
|
||||
#define Z_MAX_WINDOWBITS 15
|
||||
#define Z_DEFAULT_WINDOWBITS 15
|
||||
|
||||
struct sockaddr;
|
||||
|
||||
namespace node {
|
||||
|
||||
@@ -71,6 +71,9 @@ namespace {
|
||||
#define Z_MIN_LEVEL -1
|
||||
#define Z_MAX_LEVEL 9
|
||||
#define Z_DEFAULT_LEVEL Z_DEFAULT_COMPRESSION
|
||||
#define Z_MIN_WINDOWBITS 8
|
||||
#define Z_MAX_WINDOWBITS 15
|
||||
#define Z_DEFAULT_WINDOWBITS 15
|
||||
|
||||
#define ZLIB_ERROR_CODES(V) \
|
||||
V(Z_OK) \
|
||||
|
||||
Reference in new issue
Block a user