From fd2e006c32a407e4f097250b1e5e7f04098bae7b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 19 Sep 2012 09:50:53 +0200 Subject: Make sure we support older versions of SQLite (3.5.3 and up) --- odb/sqlite/connection.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/sqlite/connection.cxx') diff --git a/odb/sqlite/connection.cxx b/odb/sqlite/connection.cxx index 22955b4..a477e28 100644 --- a/odb/sqlite/connection.cxx +++ b/odb/sqlite/connection.cxx @@ -45,8 +45,10 @@ namespace odb // A connection can only be used by a single thread at a time. So // disable locking in SQLite unless explicitly requested. // +#if defined(SQLITE_OPEN_NOMUTEX) if ((f & SQLITE_OPEN_FULLMUTEX) == 0) f |= SQLITE_OPEN_NOMUTEX; +#endif const string& vfs (db.vfs ()); -- cgit v1.1