diff options
author | Gert-Jan Timmer <gjr.timmer@gmail.com> | 2018-05-23 22:20:48 +0200 |
---|---|---|
committer | Gert-Jan Timmer <gjr.timmer@gmail.com> | 2018-05-23 22:20:48 +0200 |
commit | 507e9be49b9990eab8866105b80c616d66e3dd52 (patch) | |
tree | 65f308c50de4fea871b3f46e8a17425577735bc1 | |
parent | Add: SQLITE_ALLOW_URI_AUTHORITY (diff) | |
download | golite-507e9be49b9990eab8866105b80c616d66e3dd52.tar.gz golite-507e9be49b9990eab8866105b80c616d66e3dd52.tar.xz |
Add: SQLITE_ENABLE_API_ARMOR
-rw-r--r-- | sqlite3_opt_app_armor.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sqlite3_opt_app_armor.go b/sqlite3_opt_app_armor.go new file mode 100644 index 0000000..0dfc99b --- /dev/null +++ b/sqlite3_opt_app_armor.go @@ -0,0 +1,14 @@ +// 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 !windows +// +build app_armor + +package sqlite3 + +/* +#cgo CFLAGS: -DSQLITE_ENABLE_API_ARMOR +#cgo LDFLAGS: -lm +*/ +import "C" |