We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340e619 commit 690789dCopy full SHA for 690789d
node.gyp
@@ -890,6 +890,9 @@
890
'NODE_ARCH="<(target_arch)"',
891
'NODE_PLATFORM="<(OS)"',
892
'NODE_WANT_INTERNALS=1',
893
+ # Define NAPI_EXPERIMENTAL to enable Node-API experimental function symbols being exposed.
894
+ 'NAPI_EXPERIMENTAL=1',
895
+ 'NODE_API_EXPERIMENTAL_NO_WARNING=1',
896
# Warn when using deprecated V8 APIs.
897
'V8_DEPRECATION_WARNINGS=1',
898
'NODE_OPENSSL_SYSTEM_CERT_PATH="<(openssl_system_ca_path)"',
src/node.h
@@ -76,7 +76,6 @@
76
#include "v8-platform.h" // NOLINT(build/include_order)
77
#include "node_version.h" // NODE_MODULE_VERSION
78
79
-#define NAPI_EXPERIMENTAL
80
#include "node_api.h"
81
82
#include <functional>
0 commit comments