tests: fix compilation of souphttpsrc test for libsoup 2.40 for real
authorTim-Philipp Müller <tim@centricular.com>
Wed, 7 May 2014 14:49:39 +0000 (15:49 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 7 May 2014 14:49:39 +0000 (15:49 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=727329

tests/check/elements/souphttpsrc.c

index 13c0aca1275f21f918052035c858791e5383ee2e..4df3220888defa873cb8e40e6ea38eb1803deffa 100644 (file)
@@ -30,7 +30,7 @@
 #include <libsoup/soup.h>
 #include <gst/check/gstcheck.h>
 
-#if !defined(SOUP_CHECK_VERSION) || !SOUP_CHECK_VERSION(2, 44, 0)
+#if !defined(SOUP_MINOR_VERSION) || SOUP_MINOR_VERSION < 44
 #define SoupStatus SoupKnownStatusCode
 #endif