Fix node.js deprecated warnings >= v10.12.0
This commit is contained in:
parent
d3ae85ee73
commit
1e981dfc23
6 changed files with 45 additions and 23 deletions
|
|
@ -44,6 +44,8 @@
|
|||
#ifdef BUILDING_NODE_EXTENSION
|
||||
%insert("runtime") %{
|
||||
#include <node.h>
|
||||
//Older version of node.h does not include this
|
||||
#include <node_version.h>
|
||||
%}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue