Merge pull request #278 from rkintzi/json1

Conditional build for the JSON1 Extension
type
mattn 2016-03-03 00:32:50 +09:00
commit 45f056ca8f
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"