Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

src: tie process.versions.uv to uv_version_string()

  • Loading branch information...
commit 902d6cb6d768d92c53e21e6a214f65c08167126c 1 parent 1b5ec03
@bnoordhuis bnoordhuis authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/node.cc
View
4 src/node.cc
@@ -2356,9 +2356,7 @@ Handle<Object> SetupProcessObject(int argc, char *argv[]) {
versions->Set(String::NewSymbol("node"), String::New(NODE_VERSION+1));
versions->Set(String::NewSymbol("v8"), String::New(V8::GetVersion()));
versions->Set(String::NewSymbol("ares"), String::New(ARES_VERSION_STR));
- versions->Set(String::NewSymbol("uv"), String::New(
- NODE_STRINGIFY(UV_VERSION_MAJOR) "."
- NODE_STRINGIFY(UV_VERSION_MINOR)));
+ versions->Set(String::NewSymbol("uv"), String::New(uv_version_string()));
versions->Set(String::NewSymbol("zlib"), String::New(ZLIB_VERSION));
#if HAVE_OPENSSL
// Stupid code to slice out the version string.
Please sign in to comment.
Something went wrong with that request. Please try again.