diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-09-22 13:59:40 +0200 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-09-25 08:53:57 +0200 |
commit | 90f1200be99c2d33d8aa4ee4d37590525013fb73 (patch) | |
tree | 27b3c2d679cd96c343a6defe4ac993d4b15dc863 /src/node_internals.h | |
parent | d72867ec0c0a33bc32b47767d561a92bef06a3f1 (diff) | |
download | node-new-90f1200be99c2d33d8aa4ee4d37590525013fb73.tar.gz |
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 <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r-- | src/node_internals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_internals.h b/src/node_internals.h index 129cfddb46..cbc8fe2029 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -936,6 +936,8 @@ void GetEGid(const v8::FunctionCallbackInfo<v8::Value>& args); void GetGroups(const v8::FunctionCallbackInfo<v8::Value>& args); #endif // __POSIX__ && !defined(__ANDROID__) && !defined(__CloudABI__) +void DefineZlibConstants(v8::Local<v8::Object> target); + } // namespace node void napi_module_register_by_symbol(v8::Local<v8::Object> exports, |