Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: define NAPI_VERSION before including node_api.h
Include node.h first to define NAPI_VERSION that node binary is built with. The node.h should also be included first in embedder's use case since it is the primary header file. PR-URL: #48376 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
- Loading branch information