mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
node: bump NODE_MODULE_VERSION
Bump NODE_MODULE_VERSION so old modules won't load without recompiling when the next major release (v0.10) comes out. This is necessary because the ABI changes between major releases.
This commit is contained in:
@@ -212,9 +212,9 @@ node_module_struct* get_builtin_module(const char *name);
|
||||
* 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
|
||||
* other dependencies.
|
||||
*/
|
||||
#define NODE_MODULE_VERSION (1)
|
||||
#define NODE_MODULE_VERSION 0x000A /* v0.10 */
|
||||
|
||||
#define NODE_STANDARD_MODULE_STUFF \
|
||||
NODE_MODULE_VERSION, \
|
||||
|
||||
Reference in New Issue
Block a user