sticker/Database: require SQLite 3.7.3
SQLite 3.7.3 is the version shipped in Debian Squeeze (oldstable); should be old enough to be the required version. Drop the compatibility #ifdef.
This commit is contained in:
parent
7d9aa5b716
commit
432ecd1b6a
@ -690,7 +690,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
|
|
||||||
dnl ---------------------------------- sqlite ---------------------------------
|
dnl ---------------------------------- sqlite ---------------------------------
|
||||||
|
|
||||||
MPD_ENABLE_AUTO_PKG(sqlite, SQLITE, [sqlite3],
|
MPD_ENABLE_AUTO_PKG(sqlite, SQLITE, [sqlite3 >= 3.7.3],
|
||||||
[SQLite database support], [sqlite not found],
|
[SQLite database support], [sqlite not found],
|
||||||
[$database_auto])
|
[$database_auto])
|
||||||
|
|
||||||
|
@ -32,10 +32,6 @@
|
|||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#if SQLITE_VERSION_NUMBER < 3003009
|
|
||||||
#define sqlite3_prepare_v2 sqlite3_prepare
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct sticker {
|
struct sticker {
|
||||||
std::map<std::string, std::string> table;
|
std::map<std::string, std::string> table;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user