Commit f187d9fc authored by Reynaldo H. Verdejo Pinochet's avatar Reynaldo H. Verdejo Pinochet
Browse files

tests: souphttpsrc: use SoupKnownStatusCode if needed

From libsoup docs:

Prior to 2.44 SoupStatus was called SoupKnownStatusCode,
but the individual values have always had the names they
have now.

Fixes:
  https://bugzilla.gnome.org/show_bug.cgi?id=727329
parent 31f36d80
......@@ -34,8 +34,13 @@
#include <libsoup/soup-auth-domain.h>
#include <libsoup/soup-auth-domain-basic.h>
#include <libsoup/soup-auth-domain-digest.h>
#include <libsoup/soup-version.h>
#include <gst/check/gstcheck.h>
#if !(SOUP_CHECK_VERSION(2, 44, 0))
#define SoupStatus SoupKnownStatusCode
#endif
static guint http_port = 0, https_port = 0;
gboolean redirect = TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment