diff options
author | mattn <mattn.jp@gmail.com> | 2016-10-28 17:48:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-28 17:48:50 +0900 |
commit | dbe15b0408002dafcad7f05741cb6788e33dcb22 (patch) | |
tree | 314e6564732acb050979e7e03799f29b9b9a85fb /sqlite3-binding.c | |
parent | Merge pull request #345 from joeshaw/backup-finalizer-fix (diff) | |
parent | upgrade: add ifdefines (diff) | |
download | golite-dbe15b0408002dafcad7f05741cb6788e33dcb22.tar.gz golite-dbe15b0408002dafcad7f05741cb6788e33dcb22.tar.xz |
Merge pull request #339 from brauner/2016-10-17/fix_libsqlite3_build
actually link to <sqlite3.h> when -tags libsqlite3
Diffstat (limited to 'sqlite3-binding.c')
-rw-r--r-- | sqlite3-binding.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sqlite3-binding.c b/sqlite3-binding.c index 1f085b0..a8790de 100644 --- a/sqlite3-binding.c +++ b/sqlite3-binding.c @@ -17,6 +17,7 @@ ** language. The code for the "sqlite3" command-line shell is also in a ** separate file. This file contains only code for the core SQLite library. */ +#ifndef USE_LIBSQLITE3 #define SQLITE_CORE 1 #define SQLITE_AMALGAMATION 1 #ifndef SQLITE_PRIVATE @@ -197846,5 +197847,9 @@ static int sqlite3Fts5VocabInit(Fts5Global *pGlobal, sqlite3 *db){ #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS5) */ +#else // USE_LIBSQLITE3 +// If users really want to link against the system sqlite3 we +// need to make this file a noop. +#endif /************** End of fts5.c ************************************************/ |