diff --git a/driver/config.go b/driver/config.go index bc6e49a..1420461 100644 --- a/driver/config.go +++ b/driver/config.go @@ -25,10 +25,6 @@ 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 diff --git a/driver/func.go b/driver/func.go index 63056b8..0d7aa71 100644 --- a/driver/func.go +++ b/driver/func.go @@ -18,6 +18,10 @@ package sqlite3 #include #include +#ifndef SQLITE_DETERMINISTIC +# define SQLITE_DETERMINISTIC 0 +#endif + void callbackTrampoline(sqlite3_context*, int, sqlite3_value**); void stepTrampoline(sqlite3_context*, int, sqlite3_value**); void doneTrampoline(sqlite3_context*);