GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: allow embedders to override NODE_MODULE_VERSION · nodejs/node@14ece0a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_version.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_version.h‎

Copy file name to clipboardExpand all lines: src/node_version.h
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,20 @@
8383
* We will, at times update the version of V8 shipped in the release line
8484
* if it can be made ABI compatible with the previous version.
8585
*
86+
* Embedders building Node.js can define NODE_EMBEDDER_MODULE_VERSION to
87+
* override the default value of NODE_MODULE_VERSION.
88+
*
8689
* The registry of used NODE_MODULE_VERSION numbers is located at
8790
* https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json
8891
* Extenders, embedders and other consumers of Node.js that require ABI
8992
* version matching should open a pull request to reserve a number in this
9093
* registry.
9194
*/
95+
#if defined(NODE_EMBEDDER_MODULE_VERSION)
96+
#define NODE_MODULE_VERSION NODE_EMBEDDER_MODULE_VERSION
97+
#else
9298
#define NODE_MODULE_VERSION 115
99+
#endif
93100

94101
// The NAPI_VERSION provided by this version of the runtime. This is the version
95102
// which the Node binary being built supports.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.