aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_opt_app_armor.go
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3_opt_app_armor.go')
-rw-r--r--sqlite3_opt_app_armor.go14
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..7108c5d
--- /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 sqlite_app_armor
+
+package sqlite3
+
+/*
+#cgo CFLAGS: -DSQLITE_ENABLE_API_ARMOR
+#cgo LDFLAGS: -lm
+*/
+import "C"