Sha256: a18ecd34ace70ba78097bc02e8047718fbdfa6ba42de2ad9f53d9057556a2503
Contents?: true
Size: 1.25 KB
Versions: 12
Compression:
Stored size: 1.25 KB
Contents
#ifndef SRC_NODE_VERSION_H_ #define SRC_NODE_VERSION_H_ #define NODE_MAJOR_VERSION 4 #define NODE_MINOR_VERSION 1 #define NODE_PATCH_VERSION 0 #define NODE_VERSION_IS_RELEASE 1 #ifndef NODE_STRINGIFY #define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n) #define NODE_STRINGIFY_HELPER(n) #n #endif #ifndef NODE_TAG # if NODE_VERSION_IS_RELEASE # define 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 #define NODE_VERSION "v" NODE_VERSION_STRING #define NODE_VERSION_AT_LEAST(major, minor, patch) \ (( (major) < NODE_MAJOR_VERSION) \ || ((major) == NODE_MAJOR_VERSION && (minor) < NODE_MINOR_VERSION) \ || ((major) == NODE_MAJOR_VERSION && \ (minor) == NODE_MINOR_VERSION && (patch) <= NODE_PATCH_VERSION)) /** * When this version number is changed, node.js will refuse * to load older modules. This should be done whenever * an API is broken in the C++ side, including in v8 or * other dependencies. */ #define NODE_MODULE_VERSION 46 /* Node.js v4.0.0 */ #endif /* SRC_NODE_VERSION_H_ */
Version data entries
12 entries across 12 versions & 1 rubygems