add build constraint for solaris

fixes #514
fix-635
Yasuhiro Matsumoto 2018-01-22 10:28:27 +09:00
parent 6c771bb988
commit 9715e9ab8e
1 changed files with 12 additions and 0 deletions

12
sqlite3_solaris.go Normal file
View File

@ -0,0 +1,12 @@
// Copyright (C) 2018 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 solaris
package sqlite3
/*
#cgo CFLAGS: -D__EXTENSIONS__=1
*/
import "C"