aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_other.go
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2014-10-22 13:31:54 +0900
committermattn <mattn.jp@gmail.com>2014-10-22 13:31:54 +0900
commit00716954b7fac405c5e5084a0ef6d7d6bc3a2b48 (patch)
tree247eb9b58232e51df46d9919b4a5d2dd32a5c4fe /sqlite3_other.go
parentThread safe (diff)
downloadgolite-00716954b7fac405c5e5084a0ef6d7d6bc3a2b48.tar.gz
golite-00716954b7fac405c5e5084a0ef6d7d6bc3a2b48.tar.xz
Specify by -D
Diffstat (limited to 'sqlite3_other.go')
-rw-r--r--sqlite3_other.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite3_other.go b/sqlite3_other.go
index c87c01f..54b6c7a 100644
--- a/sqlite3_other.go
+++ b/sqlite3_other.go
@@ -9,6 +9,6 @@ package sqlite3
/*
#cgo CFLAGS: -I.
#cgo linux LDFLAGS: -ldl
-#cgo CFLAGS: -DSQLITE_ENABLE_RTREE
+#cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE
*/
import "C"