summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node_internals.h5
-rw-r--r--src/node_zlib.cc3
2 files changed, 3 insertions, 5 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index f7a1e2d8d6..7d31640bed 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -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 {
diff --git a/src/node_zlib.cc b/src/node_zlib.cc
index 2a2466052c..b8733229b0 100644
--- a/src/node_zlib.cc
+++ b/src/node_zlib.cc
@@ -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) \