Allow the shell to be built from the configure script with

SQLITE_OMIT_VIRTUALTABLE defined.

FossilOrigin-Name: 136bf323e42dc90e1780199a381bcbb084b069eca5c7343ee6fc6e2550831536
This commit is contained in:
dan
2018-01-20 15:48:45 +00:00
parent 1a3a308616
commit 2f94935409
4 changed files with 14 additions and 9 deletions
+2 -1
View File
@@ -52,7 +52,8 @@
** child page.
*/
#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_RTREE)
#if !defined(SQLITE_CORE) \
|| (defined(SQLITE_ENABLE_RTREE) && !defined(SQLITE_OMIT_VIRTUALTABLE))
#ifndef SQLITE_CORE
#include "sqlite3ext.h"
+4
View File
@@ -15,6 +15,10 @@
*/
#include "sqlite3.h"
#ifdef SQLITE_OMIT_VIRTUALTABLE
# undef SQLITE_ENABLE_RTREE
#endif
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */