Skip to content

Commit 2dac374

Browse files
committed
src: move node_binding to modern THROW_ERR*
nodejs/node#35469
1 parent d74b3f3 commit 2dac374

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

patches/node/chore_add_context_to_context_aware_module_prevention.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ diff --git a/src/node_binding.cc b/src/node_binding.cc
1111
index ca5a01f925a2ae69ba4295d82316e546f45c60cd..a0f6730de75b9b1dc58e2cec5ed64f9619162a2b 100644
1212
--- a/src/node_binding.cc
1313
+++ b/src/node_binding.cc
14-
@@ -3,6 +3,7 @@
15-
#include <atomic>
16-
#include "env-inl.h"
14+
@@ -4,6 +4,7 @@
15+
#include "node_errors.h"
16+
#include "node_external_reference.h"
1717
#include "node_native_module_env.h"
1818
+#include "node_process.h"
1919
#include "util.h"
2020

21-
#if HAVE_OPENSSL
21+
#include <string>
2222
@@ -463,7 +464,12 @@ void DLOpen(const FunctionCallbackInfo<Value>& args) {
2323
if (mp->nm_context_register_func == nullptr) {
2424
if (env->force_context_aware()) {

0 commit comments

Comments
 (0)