From 3ebb821e65f8282d323b702d7abfbdfd5169b37f Mon Sep 17 00:00:00 2001 From: Zbigniew Mandziejewicz Date: Fri, 22 Apr 2016 16:20:04 +0800 Subject: [PATCH] Set SQLITE_DETERMINISTIC if undefined --- sqlite3.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sqlite3.go b/sqlite3.go index 4d81917..852c299 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -29,6 +29,10 @@ package sqlite3 # define SQLITE_OPEN_FULLMUTEX 0 #endif +#ifndef SQLITE_DETERMINISTIC +# define SQLITE_DETERMINISTIC 0 +#endif + static int _sqlite3_open_v2(const char *filename, sqlite3 **ppDb, int flags, const char *zVfs) { #ifdef SQLITE_OPEN_URI