Commit 5fc6fed8 by Jim Schlight

Add define for NAPI_VERSION=3 to binding.gyp

parent 8c8083ca
......@@ -49,7 +49,7 @@
"src/node_sqlite3.cc",
"src/statement.cc"
],
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS=1" ]
"defines": [ "NAPI_VERSION=3", "NAPI_DISABLE_CPP_EXCEPTIONS=1" ]
},
{
"target_name": "action_after_build",
......@@ -71,7 +71,7 @@
"destination": "<(module_path)"
}
],
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS=1" ]
"defines": [ "NAPI_VERSION=3", "NAPI_DISABLE_CPP_EXCEPTIONS=1" ]
}
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment