aboutsummaryrefslogtreecommitdiff
path: root/src/test_rtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_rtree.c')
-rw-r--r--src/test_rtree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test_rtree.c b/src/test_rtree.c
index 5fc994ddf..9745b0054 100644
--- a/src/test_rtree.c
+++ b/src/test_rtree.c
@@ -18,6 +18,7 @@
/* Solely for the UNUSED_PARAMETER() macro. */
#include "sqliteInt.h"
+#ifdef SQLITE_ENABLE_RTREE
/*
** Type used to cache parameter information for the "circle" r-tree geometry
** callback.
@@ -230,6 +231,7 @@ static int cube_geom(
return SQLITE_OK;
}
+#endif /* SQLITE_ENABLE_RTREE */
static int register_cube_geom(
void * clientData,