Commit f2ce8e0
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 <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>1 parent 13ac0a5 commit f2ce8e0Copy full SHA for f2ce8e0
File tree
Expand file treeCollapse file tree
1 file changed
+4
-0
lines changedOpen diff view settings
Filter options
- test/cctest
Expand file treeCollapse file tree
1 file changed
+4
-0
lines changedOpen diff view settings
Collapse file
test/cctest/test_linked_binding.cc
Copy file name to clipboardExpand all lines: test/cctest/test_linked_binding.cc+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
1 | 5 | |
2 | 6 | |
3 | 7 | |
|
0 commit comments