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.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user