diff options
author | mattn <mattn.jp@gmail.com> | 2013-04-06 23:06:48 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2013-04-06 23:06:48 +0900 |
commit | bbd33c0ffc6657507c72bc2f3d3f92b45f9c8b3c (patch) | |
tree | 41f4f51cc9e53fd0b72cefcd38ded8f0eb55a06f /sqlite3.go | |
parent | Fix typo (diff) | |
download | golite-bbd33c0ffc6657507c72bc2f3d3f92b45f9c8b3c.tar.gz golite-bbd33c0ffc6657507c72bc2f3d3f92b45f9c8b3c.tar.xz |
Fix #54
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -5,6 +5,14 @@ package sqlite #include <stdlib.h> #include <string.h> +#ifndef SQLITE_OPEN_READWRITE +# define SQLITE_OPEN_READWRITE 0 +#endif + +#ifndef SQLITE_OPEN_FULLMUTEX +# define SQLITE_OPEN_FULLMUTEX 0 +#endif + static int _sqlite3_open_v2(const char *filename, sqlite3 **ppDb, int flags, const char *zVfs) { #ifdef SQLITE_OPEN_URI |