From 507e9be49b9990eab8866105b80c616d66e3dd52 Mon Sep 17 00:00:00 2001 From: Gert-Jan Timmer Date: Wed, 23 May 2018 22:20:48 +0200 Subject: [PATCH] Add: SQLITE_ENABLE_API_ARMOR --- sqlite3_opt_app_armor.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sqlite3_opt_app_armor.go 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 . +// +// 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"