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:
Max Kellermann 2014-12-12 20:41:36 +01:00
parent 7d9aa5b716
commit 432ecd1b6a
2 changed files with 1 additions and 5 deletions

View File

@ -690,7 +690,7 @@ dnl ---------------------------------------------------------------------------
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],
[$database_auto])

View File

@ -32,10 +32,6 @@
#include <sqlite3.h>
#include <assert.h>
#if SQLITE_VERSION_NUMBER < 3003009
#define sqlite3_prepare_v2 sqlite3_prepare
#endif
struct sticker {
std::map<std::string, std::string> table;
};