sticker: added fallback for sqlite3_prepare_v2()
This function was not present in SQLite < 3.4.
This commit is contained in:
parent
8c0680f6b9
commit
937b2b1744
1
NEWS
1
NEWS
|
@ -6,6 +6,7 @@ ver 0.15.6 (2009/??/??)
|
||||||
* output_thread: check again if output is open on PAUSE
|
* output_thread: check again if output is open on PAUSE
|
||||||
* update: delete ignored symlinks from database
|
* update: delete ignored symlinks from database
|
||||||
* database: increased maximum line length to 32 kB
|
* database: increased maximum line length to 32 kB
|
||||||
|
* sticker: added fallback for sqlite3_prepare_v2()
|
||||||
|
|
||||||
|
|
||||||
ver 0.15.5 (2009/10/18)
|
ver 0.15.5 (2009/10/18)
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
#undef G_LOG_DOMAIN
|
#undef G_LOG_DOMAIN
|
||||||
#define G_LOG_DOMAIN "sticker"
|
#define G_LOG_DOMAIN "sticker"
|
||||||
|
|
||||||
|
#if SQLITE_VERSION_NUMBER < 3003009
|
||||||
|
#define sqlite3_prepare_v2 sqlite3_prepare
|
||||||
|
#endif
|
||||||
|
|
||||||
struct sticker {
|
struct sticker {
|
||||||
GHashTable *table;
|
GHashTable *table;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue