Conditional build for the JSON1 Extension

This commit is contained in:
Radosław Kintzi 2016-02-28 09:53:54 +01:00
parent 09d5c45171
commit 6dab4fc2ee
1 changed files with 12 additions and 0 deletions

12
sqlite3_json1.go Normal file
View File

@ -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"