diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-02-15 12:03:20 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-02-15 12:11:55 +0000 |
commit | dd78aa27a47910fd824c508414c3eb3f91a992f8 (patch) | |
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.
-rw-r--r-- | tests/check/gst/gsturi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/check/gst/gsturi.c b/tests/check/gst/gsturi.c index 3f753f6ec..ee623dbcf 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) |