tests: fix compilation of souphttpsrc test for libsoup 2.40 for real

https://bugzilla.gnome.org/show_bug.cgi?id=727329
This commit is contained in:
Tim-Philipp Müller 2014-05-07 15:49:39 +01:00
parent cf94d498e6
commit c3bd2bdcf4

View file

@ -30,7 +30,7 @@
#include <libsoup/soup.h> #include <libsoup/soup.h>
#include <gst/check/gstcheck.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 #define SoupStatus SoupKnownStatusCode
#endif #endif