go-sqlcipher/sqlite3_opt_foreign_keys.go

15 lines
300 B
Go
Raw Normal View History

2018-05-23 23:21:00 +03:00
// 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 sqlite_foreign_keys
2018-05-23 23:21:00 +03:00
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_DEFAULT_FOREIGN_KEYS=1
#cgo LDFLAGS: -lm
*/
import "C"