Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
d0142a7e
Commit
d0142a7e
authored
Feb 24, 2020
by
Mohamed Akram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build on Windows
parent
ae9a005b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
binding.gyp
binding.gyp
+2
-2
async.h
src/async.h
+2
-1
statement.h
src/statement.h
+3
-4
No files found.
binding.gyp
View file @
d0142a7e
...
...
@@ -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" ],
...
...
src/async.h
View file @
d0142a7e
#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
...
...
src/statement.h
View file @
d0142a7e
#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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment