Commit d0142a7e by Mohamed Akram

Fix build on Windows

parent ae9a005b
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
}, },
{ {
"dependencies": [ "dependencies": [
"<!(node -p 'require(\"node-addon-api\").gyp')", "<!(node -p \"require('node-addon-api').gyp\")",
"deps/sqlite3.gyp:sqlite3" "deps/sqlite3.gyp:sqlite3"
] ]
} }
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
}, },
"type": "none", "type": "none",
"dependencies": [ "dependencies": [
"<!(node -p 'require(\"node-addon-api\").gyp')", "<(module_name)" ], "<!(node -p \"require('node-addon-api').gyp\")", "<(module_name)" ],
"copies": [ "copies": [
{ {
"files": [ "<(PRODUCT_DIR)/<(module_name).node" ], "files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
......
#ifndef NODE_SQLITE3_SRC_ASYNC_H #ifndef NODE_SQLITE3_SRC_ASYNC_H
#define NODE_SQLITE3_SRC_ASYNC_H #define NODE_SQLITE3_SRC_ASYNC_H
#include "threading.h"
#include <node_version.h> #include <node_version.h>
#include <napi.h> #include <napi.h>
#include <uv.h> #include <uv.h>
#include "threading.h"
#if defined(NODE_SQLITE3_BOOST_THREADING) #if defined(NODE_SQLITE3_BOOST_THREADING)
#include <boost/thread/mutex.hpp> #include <boost/thread/mutex.hpp>
#endif #endif
......
#ifndef NODE_SQLITE3_SRC_STATEMENT_H #ifndef NODE_SQLITE3_SRC_STATEMENT_H
#define NODE_SQLITE3_SRC_STATEMENT_H #define NODE_SQLITE3_SRC_STATEMENT_H
#include "database.h"
#include "threading.h"
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <string> #include <string>
...@@ -15,6 +11,9 @@ ...@@ -15,6 +11,9 @@
#include <napi.h> #include <napi.h>
#include <uv.h> #include <uv.h>
#include "database.h"
#include "threading.h"
using namespace Napi; using namespace Napi;
namespace node_sqlite3 { namespace node_sqlite3 {
......
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