25 lines
616 B
Diff
25 lines
616 B
Diff
|
diff --git a/node_modules/nan/nan.h b/node_modules/nan/nan.h
|
||
|
index 2a68349..9c75907 100644
|
||
|
--- a/node_modules/nan/nan.h
|
||
|
+++ b/node_modules/nan/nan.h
|
||
|
@@ -2550,7 +2550,9 @@ NAN_DEPRECATED inline void SetAccessor(
|
||
|
, getter_
|
||
|
, setter_
|
||
|
, obj
|
||
|
+#if !defined(V8_MAJOR_VERSION) || V8_MAJOR_VERSION < 12
|
||
|
, settings
|
||
|
+#endif
|
||
|
, attribute
|
||
|
#if (NODE_MODULE_VERSION < NODE_16_0_MODULE_VERSION)
|
||
|
, signature
|
||
|
@@ -2596,7 +2598,9 @@ inline void SetAccessor(
|
||
|
, getter_
|
||
|
, setter_
|
||
|
, obj
|
||
|
+#if !defined(V8_MAJOR_VERSION) || V8_MAJOR_VERSION < 12
|
||
|
, settings
|
||
|
+#endif
|
||
|
, attribute
|
||
|
);
|
||
|
}
|