From ead5c4c054863cbc82bd2c2a8ddb31860f9e51f7 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sat, 22 Sep 2018 13:59:40 +0200 Subject: src: define zlib constants in node_zlib.cc This is in order to avoid having two separate definitions for `node_zlib_mode`. PR-URL: https://github.com/nodejs/node/pull/23019 Reviewed-By: James M Snell Reviewed-By: Gus Caplan --- src/node_internals.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/node_internals.h') diff --git a/src/node_internals.h b/src/node_internals.h index 9a34825b1e..0c0b2e3176 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -936,6 +936,8 @@ void GetEGid(const v8::FunctionCallbackInfo& args); void GetGroups(const v8::FunctionCallbackInfo& args); #endif // __POSIX__ && !defined(__ANDROID__) && !defined(__CloudABI__) +void DefineZlibConstants(v8::Local target); + } // namespace node void napi_module_register_by_symbol(v8::Local exports, -- cgit v1.2.3