Fix compilation for older versions of SQLite

See issue #1837.
This commit is contained in:
Martin Kleusberg
2019-04-04 17:22:12 +02:00
parent d4401f9705
commit cc8401fb27

View File

@@ -13,4 +13,11 @@
#include <sqlite3.h>
#endif
// For older versions of the SQLite library which do not have the SQLITE_DETERMINISTIC flag
// yet (which introduced in this commit: https://www.sqlite.org/src/info/5716fc2341ddd8cf), we
// define it here with a value of 0. Because it is ORed with other constants a value of 0 is a no-op.
#ifndef SQLITE_DETERMINISTIC
#define SQLITE_DETERMINISTIC 0
#endif
#endif