aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/httpd_client.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-13 16:12:43 +0200
committerMax Kellermann <max@duempel.org>2009-10-13 16:12:43 +0200
commit4390d72b141304b8dfcdb374b428d3b4fae56237 (patch)
treea7c2132c621c04a1a7494a39b97489900e128539 /src/output/httpd_client.c
parent2bf740fc71438edcb2c89e722ee8c83beb560128 (diff)
downloadmpd-4390d72b141304b8dfcdb374b428d3b4fae56237.tar.gz
mpd-4390d72b141304b8dfcdb374b428d3b4fae56237.tar.xz
mpd-4390d72b141304b8dfcdb374b428d3b4fae56237.zip
configure.ac: require GLib 2.16
Accidently, MPD has been using several GLib 2.16 functions for a while, and nobody noticed yet. To simplify the code base, let's bump the minimum GLib version for MPD to 2.16. That version is old enough, and it's reasonable to expect users to have it.
Diffstat (limited to '')
-rw-r--r--src/output/httpd_client.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/output/httpd_client.c b/src/output/httpd_client.c
index 52a398e3b..8157ebb44 100644
--- a/src/output/httpd_client.c
+++ b/src/output/httpd_client.c
@@ -482,11 +482,6 @@ httpd_client_queue_size(const struct httpd_client *client)
return size;
}
-/* g_queue_clear() was introduced in GLib 2.14 */
-#if !GLIB_CHECK_VERSION(2,14,0)
-#define g_queue_clear(q) do { g_queue_free(q); q = g_queue_new(); } while (0)
-#endif
-
void
httpd_client_cancel(struct httpd_client *client)
{