commit | dd78aa27a47910fd824c508414c3eb3f91a992f8 | [log] [tgz] |
---|---|---|
author | Tim-Philipp Müller <tim@centricular.com> | Thu Feb 15 12:03:20 2018 +0000 |
committer | Tim-Philipp Müller <tim@centricular.com> | Thu Feb 15 12:11:55 2018 +0000 |
tree | 73af3eb028fd90a30ec3c9ea0bc25f8b9a0aa9ed | |
parent | ea402c703464e5075258e5290159e819c1f4687a [diff] |
tests: uri: fix build without -DGST_DISABLE_DEPRECATED Must undefine it before including gst headers, since the test tests deprecated API.
diff --git a/tests/check/gst/gsturi.c b/tests/check/gst/gsturi.c index 3f753f6..ee623db 100644 --- a/tests/check/gst/gsturi.c +++ b/tests/check/gst/gsturi.c
@@ -21,6 +21,10 @@ #include "config.h" #endif +#ifndef GST_REMOVE_DEPRECATED +#undef GST_DISABLE_DEPRECATED +#endif + #include <gst/check/gstcheck.h> GST_START_TEST (test_protocol_case)