Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enable Sqlite R*Tree Module

  • Loading branch information...
commit f85c1dc044e6c975a4d037825ac3ff47c60da43f 1 parent afb8145
@fawick fawick authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  sqlite3_other.go
  2. +1 −0  sqlite3_windows.go
View
1  sqlite3_other.go
@@ -5,5 +5,6 @@ package sqlite3
/*
#cgo CFLAGS: -I.
#cgo linux LDFLAGS: -ldl
+#cgo CFLAGS: -DSQLITE_ENABLE_RTREE
*/
import "C"
View
1  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"
Please sign in to comment.
Something went wrong with that request. Please try again.