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.h | |
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.h')
-rw-r--r-- | sqlite3-binding.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sqlite3-binding.h b/sqlite3-binding.h index 4e2df5e..430ffee 100644 --- a/sqlite3-binding.h +++ b/sqlite3-binding.h @@ -30,6 +30,7 @@ ** the version number) and changes its name to "sqlite3.h" as ** part of the build process. */ +#ifndef USE_LIBSQLITE3 #ifndef SQLITE3_H #define SQLITE3_H #include <stdarg.h> /* Needed for the definition of va_list */ @@ -10338,5 +10339,9 @@ struct fts5_api { #endif #endif /* _FTS5_H */ +#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.h *********/ |