aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_solaris.go
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2018-01-22 10:28:27 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2018-01-22 10:29:16 +0900
commit9715e9ab8ed981e4d7769967f718a0a24f5b7ae2 (patch)
tree14abc599898b7418ac3f38f7aa3ca4e01e92b852 /sqlite3_solaris.go
parentMerge pull request #462 from faruzzy/master (diff)
downloadgolite-9715e9ab8ed981e4d7769967f718a0a24f5b7ae2.tar.gz
golite-9715e9ab8ed981e4d7769967f718a0a24f5b7ae2.tar.xz
add build constraint for solaris
fixes #514
Diffstat (limited to 'sqlite3_solaris.go')
-rw-r--r--sqlite3_solaris.go12
1 files changed, 12 insertions, 0 deletions
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 <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"