sticker: added fallback for sqlite3_prepare_v2()

This function was not present in SQLite < 3.4.
This commit is contained in:
Max Kellermann 2009-11-10 20:55:29 +01:00
parent 8c0680f6b9
commit 937b2b1744
2 changed files with 5 additions and 0 deletions

1
NEWS
View File

@ -6,6 +6,7 @@ ver 0.15.6 (2009/??/??)
* output_thread: check again if output is open on PAUSE
* update: delete ignored symlinks from database
* database: increased maximum line length to 32 kB
* sticker: added fallback for sqlite3_prepare_v2()
ver 0.15.5 (2009/10/18)

View File

@ -27,6 +27,10 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "sticker"
#if SQLITE_VERSION_NUMBER < 3003009
#define sqlite3_prepare_v2 sqlite3_prepare
#endif
struct sticker {
GHashTable *table;
};