From 432ecd1b6a73962f17ac96c8133ced06b26f6a7e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 12 Dec 2014 20:41:36 +0100 Subject: [PATCH] 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. --- configure.ac | 2 +- src/sticker/StickerDatabase.cxx | 4 ---- 2 files changed, 1 insertion(+), 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 #include -#if SQLITE_VERSION_NUMBER < 3003009 -#define sqlite3_prepare_v2 sqlite3_prepare -#endif - struct sticker { std::map table; };