26
vendor/github.com/mutecomm/go-sqlcipher/v4/flags.go
generated
vendored
Normal file
26
vendor/github.com/mutecomm/go-sqlcipher/v4/flags.go
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
package sqlite3
|
||||
|
||||
/*
|
||||
// make go-sqlite3 use embedded library without code changes
|
||||
#cgo CFLAGS: -DUSE_LIBSQLITE3
|
||||
|
||||
// enable encryption codec in sqlite
|
||||
#cgo CFLAGS: -DSQLITE_HAS_CODEC
|
||||
|
||||
// use memory for temporay storage in sqlite
|
||||
#cgo CFLAGS: -DSQLITE_TEMP_STORE=2
|
||||
|
||||
// use libtomcrypt implementation in sqlcipher
|
||||
#cgo CFLAGS: -DSQLCIPHER_CRYPTO_LIBTOMCRYPT
|
||||
|
||||
// disable anything "not portable" in libtomcrypt
|
||||
#cgo CFLAGS: -DLTC_NO_ASM
|
||||
|
||||
// disable assertions
|
||||
#cgo CFLAGS: -DNDEBUG
|
||||
|
||||
// set operating specific sqlite flags
|
||||
#cgo linux CFLAGS: -DSQLITE_OS_UNIX=1
|
||||
#cgo windows CFLAGS: -DSQLITE_OS_WIN=1
|
||||
*/
|
||||
import "C"
|
||||
Reference in New Issue
Block a user