aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2016-03-03 00:32:50 +0900
committermattn <mattn.jp@gmail.com>2016-03-03 00:32:50 +0900
commit45f056ca8f5ef4ee3f68796167a0a0e6a6214813 (patch)
treeb558e8e21636f17fcfc9ae63dceedbcfafc4142c
parentMerge pull request #275 from otoolep/fix_typos (diff)
parentConditional build for the JSON1 Extension (diff)
downloadgolite-45f056ca8f5ef4ee3f68796167a0a0e6a6214813.tar.gz
golite-45f056ca8f5ef4ee3f68796167a0a0e6a6214813.tar.xz
Merge pull request #278 from rkintzi/json1
Conditional build for the JSON1 Extension
-rw-r--r--sqlite3_json1.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/sqlite3_json1.go b/sqlite3_json1.go
new file mode 100644
index 0000000..a7b2473
--- /dev/null
+++ b/sqlite3_json1.go
@@ -0,0 +1,12 @@
+// 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 json1
+
+package sqlite3
+
+/*
+#cgo CFLAGS: -DSQLITE_ENABLE_JSON1
+*/
+import "C"