diff options
author | Max Kellermann <max@duempel.org> | 2009-03-06 15:42:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-06 15:42:33 +0100 |
commit | 5e0acec11848ad4ec0b913ca70c4e8827aeab988 (patch) | |
tree | 35500b55e8439a5d0a0c0c550531af8188f9a4d1 | |
parent | 4c3ce9ef1cfb2125a7f8efec4735cc0181cb5b75 (diff) | |
download | mpd-5e0acec11848ad4ec0b913ca70c4e8827aeab988.tar.gz mpd-5e0acec11848ad4ec0b913ca70c4e8827aeab988.tar.xz mpd-5e0acec11848ad4ec0b913ca70c4e8827aeab988.zip |
curl: reverse GLIB_CHECK_VERSION()
The GLIB_CHECK_VERSION() macro was used improperly, which broke build
on GLib < 2.14. Add a "!" for negation.
Diffstat (limited to '')
-rw-r--r-- | src/input/curl_input_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/curl_input_plugin.c b/src/input/curl_input_plugin.c index 21b7144b8..47a1d1762 100644 --- a/src/input/curl_input_plugin.c +++ b/src/input/curl_input_plugin.c @@ -125,7 +125,7 @@ buffer_free_callback(gpointer data, G_GNUC_UNUSED gpointer user_data) } /* g_queue_clear() was introduced in GLib 2.14 */ -#if GLIB_CHECK_VERSION(2,14,0) +#if !GLIB_CHECK_VERSION(2,14,0) #define g_queue_clear(q) do { g_queue_free(q); q = g_queue_new(); } while (0) #endif |