aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2014-03-19 13:20:30 +0900
committermattn <mattn.jp@gmail.com>2014-03-19 13:20:30 +0900
commit58c62dc30cda06e4a74e18f6489bb6c112fc6e5d (patch)
tree4835896756025b8f9e0a4aaed626911395d77825
parentMerge pull request #114 from jkl1337/master (diff)
parentEnable Sqlite R*Tree Module (diff)
downloadgolite-58c62dc30cda06e4a74e18f6489bb6c112fc6e5d.tar.gz
golite-58c62dc30cda06e4a74e18f6489bb6c112fc6e5d.tar.xz
Merge pull request #99 from fawick/master
Enable Sqlite R*Tree Module
-rw-r--r--sqlite3_other.go1
-rw-r--r--sqlite3_windows.go1
2 files changed, 2 insertions, 0 deletions
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"