hack to use libsqlite3
$ go build -tags "libsqlite3 windows"
This commit is contained in:
147782
code/sqlite3-binding.c
Normal file
147782
code/sqlite3-binding.c
Normal file
File diff suppressed because it is too large
Load Diff
7478
code/sqlite3-binding.h
Normal file
7478
code/sqlite3-binding.h
Normal file
File diff suppressed because it is too large
Load Diff
147782
sqlite3-binding.c
147782
sqlite3-binding.c
File diff suppressed because it is too large
Load Diff
7479
sqlite3-binding.h
7479
sqlite3-binding.h
File diff suppressed because it is too large
Load Diff
13
sqlite3_libsqlite3.go
Normal file
13
sqlite3_libsqlite3.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright (C) 2014 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 libsqlite3
|
||||
|
||||
package sqlite3
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -DUSE_LIBSQLITE3
|
||||
#cgo LDFLAGS: -lsqlite3
|
||||
*/
|
||||
import "C"
|
||||
Reference in New Issue
Block a user