From 9715e9ab8ed981e4d7769967f718a0a24f5b7ae2 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 22 Jan 2018 10:28:27 +0900 Subject: [PATCH] add build constraint for solaris fixes #514 --- sqlite3_solaris.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sqlite3_solaris.go diff --git a/sqlite3_solaris.go b/sqlite3_solaris.go new file mode 100644 index 0000000..dbbdf75 --- /dev/null +++ b/sqlite3_solaris.go @@ -0,0 +1,12 @@ +// Copyright (C) 2018 Yasuhiro Matsumoto . +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file. +// +build solaris + +package sqlite3 + +/* +#cgo CFLAGS: -D__EXTENSIONS__=1 +*/ +import "C"