Fix defines for non-Windows platforms

This commit is contained in:
Francis ANDRE 2018-09-25 14:02:18 +02:00
parent 02ae8a9da6
commit 4cee0f1b5e

View File

@ -53,8 +53,7 @@ model {
cppCompiler.define "SQLITE_OMIT_COMPLETE" cppCompiler.define "SQLITE_OMIT_COMPLETE"
cppCompiler.define "SQLITE_OMIT_TCL_VARIABLE" cppCompiler.define "SQLITE_OMIT_TCL_VARIABLE"
cppCompiler.define "SQLITE_OMIT_DEPRECATED" cppCompiler.define "SQLITE_OMIT_DEPRECATED"
} } else {
if (toolChain in Gcc) {
cCompiler.args "-I$projectDir/src" cCompiler.args "-I$projectDir/src"
cCompiler.define "SQLITE_THREADSAFE=1" cCompiler.define "SQLITE_THREADSAFE=1"
cCompiler.define "SQLITE_DISABLE_LFS" cCompiler.define "SQLITE_DISABLE_LFS"