Skip to content

Commit e309f84

Browse files
committed
Lock N-Api to version 4 for >8.16.0 support
1 parent 791a511 commit e309f84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cld.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using std::terminate_handler;
66
using std::unexpected_handler;
77

8+
#define NAPI_VERSION 4
89
#include <napi.h>
910

1011
namespace NodeCld {

0 commit comments

Comments
 (0)