fix(node): undefine NAPI_EXPERIMENTAL

This fixes build with Node v20.12.2.

Related upstream issue: <https://github.com/nodejs/node/issues/52229>
This commit is contained in:
link2xt
2024-04-22 22:13:34 +00:00
parent f1bbd676c6
commit cde0fb32e6

View File

@@ -1,5 +1,4 @@
#define NAPI_VERSION 4
#define NAPI_EXPERIMENTAL
#include <stdlib.h>
#include <stdio.h>