Create sqlite3_opt_foreign_keys.go
This commit is contained in:
parent
f88be897ff
commit
27050729d9
15
src/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go
Normal file
15
src/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go
Normal file
@ -0,0 +1,15 @@
|
||||
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
|
||||
// Copyright (C) 2018 G.J.R. Timmer <gjr.timmer@gmail.com>.
|
||||
//
|
||||
// Use of this source code is governed by an MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build sqlite_foreign_keys
|
||||
|
||||
package sqlite3
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -DSQLITE_DEFAULT_FOREIGN_KEYS=1
|
||||
#cgo LDFLAGS: -lm
|
||||
*/
|
||||
import "C"
|
Loading…
Reference in New Issue
Block a user