diff options
author | Max Kellermann <max@duempel.org> | 2014-12-12 20:41:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-12 20:41:36 +0100 |
commit | 432ecd1b6a73962f17ac96c8133ced06b26f6a7e (patch) | |
tree | dc5bd72347785c43d703ce83613c3555a341b73d | |
parent | 7d9aa5b7160fa085b1b1595aa4841f0ea2cbb149 (diff) | |
download | mpd-432ecd1b6a73962f17ac96c8133ced06b26f6a7e.tar.gz mpd-432ecd1b6a73962f17ac96c8133ced06b26f6a7e.tar.xz mpd-432ecd1b6a73962f17ac96c8133ced06b26f6a7e.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/sticker/StickerDatabase.cxx | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 6c525062a..7c38db9b3 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/src/sticker/StickerDatabase.cxx b/src/sticker/StickerDatabase.cxx index ec1c478a7..226579969 100644 --- a/src/sticker/StickerDatabase.cxx +++ b/src/sticker/StickerDatabase.cxx @@ -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; }; |