From f85c1dc044e6c975a4d037825ac3ff47c60da43f Mon Sep 17 00:00:00 2001 From: Fabian Wickborn Date: Sun, 22 Dec 2013 23:20:40 +0100 Subject: [PATCH] Enable Sqlite R*Tree Module --- sqlite3_other.go | 1 + sqlite3_windows.go | 1 + 2 files changed, 2 insertions(+) diff --git a/sqlite3_other.go b/sqlite3_other.go index 6f6d275..e8673ac 100644 --- a/sqlite3_other.go +++ b/sqlite3_other.go @@ -5,5 +5,6 @@ package sqlite3 /* #cgo CFLAGS: -I. #cgo linux LDFLAGS: -ldl +#cgo CFLAGS: -DSQLITE_ENABLE_RTREE */ import "C" diff --git a/sqlite3_windows.go b/sqlite3_windows.go index 7193dfb..7a52826 100644 --- a/sqlite3_windows.go +++ b/sqlite3_windows.go @@ -3,5 +3,6 @@ package sqlite3 /* #cgo CFLAGS: -I. -fno-stack-check -fno-stack-protector -mno-stack-arg-probe #cgo LDFLAGS: -lmingwex -lmingw32 +#cgo CFLAGS: -DSQLITE_ENABLE_RTREE */ import "C"