diff --git a/src/bindings.cpp b/src/bindings.cpp index 5af9917..bc3ae9d 100644 --- a/src/bindings.cpp +++ b/src/bindings.cpp @@ -15,10 +15,10 @@ #endif #endif -#if !defined(ISNODEJS) || NODEJS_LTS_API > 16 -#define FixedArrayParam ,v8::Local import_arributes -#else +#if !defined(ISNODEJS) || NODEJS_LTS_API < 18 #define FixedArrayParam +#else +#define FixedArrayParam ,v8::Local import_arributes #endif #if V8_VERSION_TOTAL < 803