Skip to content

Commit

Permalink
Fix for (undefined) NODEJS_LTS_API 20
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 11, 2024
1 parent 679e5e0 commit fe6b8b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
#endif
#endif

#if !defined(ISNODEJS) || NODEJS_LTS_API > 16
#define FixedArrayParam ,v8::Local<v8::FixedArray> import_arributes
#else
#if !defined(ISNODEJS) || NODEJS_LTS_API < 18
#define FixedArrayParam
#else
#define FixedArrayParam ,v8::Local<v8::FixedArray> import_arributes
#endif

#if V8_VERSION_TOTAL < 803
Expand Down

0 comments on commit fe6b8b7

Please sign in to comment.