summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohan Bergström <bugs@bergstroem.nu>2015-01-14 11:12:05 +1100
committerFedor Indutny <fedor@indutny.com>2015-01-14 03:20:54 +0300
commit01736ddc0082572d28205ff97525a3b2418a0e4d (patch)
treeef6bbd99ada283711fd3c6b4e20fbd896516d488 /src
parentd790f612218bb34580bfbc6a11027d69b7c148fe (diff)
downloadnode-new-01736ddc0082572d28205ff97525a3b2418a0e4d.tar.gz
process: reintroduce ares to versions
ares version info was accidentally removed in c80f8fa8f. PR-URL: https://github.com/iojs/io.js/pull/347 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'src')
-rw-r--r--src/node.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node.cc b/src/node.cc
index 753ac668e3..d470069018 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -2570,6 +2570,9 @@ void SetupProcessObject(Environment* env,
READONLY_PROPERTY(versions,
"zlib",
FIXED_ONE_BYTE_STRING(env->isolate(), ZLIB_VERSION));
+ READONLY_PROPERTY(versions,
+ "ares",
+ FIXED_ONE_BYTE_STRING(env->isolate(), ARES_VERSION_STR));
const char node_modules_version[] = NODE_STRINGIFY(NODE_MODULE_VERSION);
READONLY_PROPERTY(