Commit d0142a7e by Mohamed Akram

Fix build on Windows

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