From 9dddfd1328d9fc20cb77129d1524fabddb7d8859 Mon Sep 17 00:00:00 2001 From: Tetsuya Morimoto Date: Sun, 5 Nov 2017 20:01:16 +0900 Subject: [PATCH] fix to be able to build with GOTAGS=libsqlite3 --- sqlite3.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlite3.go b/sqlite3.go index a78d1c6..7e56410 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -120,6 +120,8 @@ void updateHookTrampoline(void*, int, char*, char*, sqlite3_int64); # define SQLITE_LIMIT_VARIABLE_NUMBER 9 # define SQLITE_LIMIT_TRIGGER_DEPTH 10 # define SQLITE_LIMIT_WORKER_THREADS 11 +# else +# define SQLITE_LIMIT_WORKER_THREADS 11 #endif static int _sqlite3_limit(sqlite3* db, int limitId, int newLimit) {