tests: uri: fix build without -DGST_DISABLE_DEPRECATED

Must undefine it before including gst headers, since the test
tests deprecated API.
This commit is contained in:
Tim-Philipp Müller 2018-02-15 12:03:20 +00:00
parent ea402c7034
commit dd78aa27a4

View file

@ -21,6 +21,10 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef GST_REMOVE_DEPRECATED
#undef GST_DISABLE_DEPRECATED
#endif
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
GST_START_TEST (test_protocol_case) GST_START_TEST (test_protocol_case)