From 6dab4fc2ee4395ca2a5310f11905d33e26a19fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kintzi?= Date: Sun, 28 Feb 2016 09:53:54 +0100 Subject: [PATCH] Conditional build for the JSON1 Extension --- sqlite3_json1.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sqlite3_json1.go 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 . +// +// 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"