diff options
-rw-r--r-- | sqlite3.go | 3 | ||||
-rw-r--r-- | sqlite3_solaris.go | 12 |
2 files changed, 13 insertions, 2 deletions
@@ -136,6 +136,7 @@ static int _sqlite3_limit(sqlite3* db, int limitId, int newLimit) { */ import "C" import ( + "context" "database/sql" "database/sql/driver" "errors" @@ -149,8 +150,6 @@ import ( "sync" "time" "unsafe" - - "golang.org/x/net/context" ) // SQLiteTimestampFormats is timestamp formats understood by both this module 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" |