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

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;
};