aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_opt_fts5.go
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3_opt_fts5.go')
-rw-r--r--sqlite3_opt_fts5.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/sqlite3_opt_fts5.go b/sqlite3_opt_fts5.go
new file mode 100644
index 0000000..9126272
--- /dev/null
+++ b/sqlite3_opt_fts5.go
@@ -0,0 +1,13 @@
+// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
+//
+// Use of this source code is governed by an MIT-style
+// license that can be found in the LICENSE file.
+// +build sqlite_fts5 fts5
+
+package sqlite3
+
+/*
+#cgo CFLAGS: -DSQLITE_ENABLE_FTS5
+#cgo LDFLAGS: -lm
+*/
+import "C"