diff options
author | Rod Vagg <rod@vagg.org> | 2015-06-10 17:05:26 +1000 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-06-25 15:22:27 +1000 |
commit | dcbb9e1da65ac16e8ed783d0b2b82ad6c7de8dbc (patch) | |
tree | 4c449f742eee5542f73ddd02c191e50c8167f6b8 /src | |
parent | 8e9089ac3574682bac610b4b7a93a7915ad5ab8d (diff) | |
download | node-new-dcbb9e1da65ac16e8ed783d0b2b82ad6c7de8dbc.tar.gz |
build: update build targets for io.js
PR-URL: https://github.com/nodejs/io.js/pull/1938
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/node_version.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/node_version.h b/src/node_version.h index 5601174a21..196d49be17 100644 --- a/src/node_version.h +++ b/src/node_version.h @@ -12,23 +12,18 @@ #define NODE_STRINGIFY_HELPER(n) #n #endif -#if NODE_VERSION_IS_RELEASE -# ifndef NODE_TAG +#ifndef NODE_TAG +# if NODE_VERSION_IS_RELEASE # define NODE_TAG "" -# endif -# define NODE_VERSION_STRING NODE_STRINGIFY(NODE_MAJOR_VERSION) "." \ - NODE_STRINGIFY(NODE_MINOR_VERSION) "." \ - NODE_STRINGIFY(NODE_PATCH_VERSION) \ - NODE_TAG -#else -# ifndef NODE_TAG +# else # define NODE_TAG "-pre" # endif +#endif + # define NODE_VERSION_STRING NODE_STRINGIFY(NODE_MAJOR_VERSION) "." \ NODE_STRINGIFY(NODE_MINOR_VERSION) "." \ NODE_STRINGIFY(NODE_PATCH_VERSION) \ NODE_TAG -#endif #define NODE_VERSION "v" NODE_VERSION_STRING |