Skip to content

Commit 366d738

Browse files
committed
squash! define HAVE_SQLITE
1 parent 9635159 commit 366d738

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

node.gyp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,6 @@
933933
'sources': [
934934
'<@(node_sqlite_sources)',
935935
],
936-
'defines': [ 'HAVE_SQLITE=1' ],
937936
}],
938937
[ 'node_shared=="true" and node_module_version!="" and OS!="win"', {
939938
'product_extension': '<(shlib_suffix)',
@@ -982,7 +981,6 @@
982981
'sources': [
983982
'<@(node_sqlite_sources)',
984983
],
985-
'defines': [ 'HAVE_SQLITE=1' ],
986984
}],
987985
[ 'OS in "linux freebsd mac solaris openharmony" and '
988986
'target_arch=="x64" and '

node.gypi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,5 +436,10 @@
436436
}, {
437437
'defines': [ 'HAVE_AMARO=0' ]
438438
}],
439+
[ 'node_use_sqlite=="true"', {
440+
'defines': [ 'HAVE_SQLITE=1' ],
441+
}, {
442+
'defines': [ 'HAVE_SQLITE=0' ]
443+
}],
439444
],
440445
}

0 commit comments

Comments
 (0)