diff options
author | Radosław Kintzi <r.kintzi@pobox.net.pl> | 2016-02-28 09:53:54 +0100 |
---|---|---|
committer | Radosław Kintzi <r.kintzi@pobox.net.pl> | 2016-02-28 09:53:54 +0100 |
commit | 6dab4fc2ee4395ca2a5310f11905d33e26a19fdf (patch) | |
tree | b558e8e21636f17fcfc9ae63dceedbcfafc4142c /sqlite3_json1.go | |
parent | Merge pull request #275 from otoolep/fix_typos (diff) | |
download | golite-6dab4fc2ee4395ca2a5310f11905d33e26a19fdf.tar.gz golite-6dab4fc2ee4395ca2a5310f11905d33e26a19fdf.tar.xz |
Conditional build for the JSON1 Extension
Diffstat (limited to 'sqlite3_json1.go')
-rw-r--r-- | sqlite3_json1.go | 12 |
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" |