Commit 432ecd1b authored by Max Kellermann's avatar Max Kellermann

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.
parent 7d9aa5b7
...@@ -690,7 +690,7 @@ dnl --------------------------------------------------------------------------- ...@@ -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 @@ ...@@ -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;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment