mattermost-desktop/patches/nan+2.18.0.patch

25 lines
616 B
Diff
Raw Normal View History

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
);
}