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: nodejs#48376 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
- Loading branch information