summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-09-22 13:59:40 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-09-25 05:49:49 +0200
commitead5c4c054863cbc82bd2c2a8ddb31860f9e51f7 (patch)
tree86e5599655c0187842fbb5ceddfff933afd44b5c /src/node_internals.h
parent0630da14159759dff8c2befdabaef359482b9b26 (diff)
downloadandroid-node-v8-ead5c4c054863cbc82bd2c2a8ddb31860f9e51f7.tar.gz
android-node-v8-ead5c4c054863cbc82bd2c2a8ddb31860f9e51f7.tar.bz2
android-node-v8-ead5c4c054863cbc82bd2c2a8ddb31860f9e51f7.zip
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.h2
1 files changed, 2 insertions, 0 deletions
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<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,