From dd78aa27a47910fd824c508414c3eb3f91a992f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 15 Feb 2018 12:03:20 +0000 Subject: [PATCH] tests: uri: fix build without -DGST_DISABLE_DEPRECATED Must undefine it before including gst headers, since the test tests deprecated API. --- tests/check/gst/gsturi.c | 4 ++++ 1 file changed, 4 insertions(+) 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_START_TEST (test_protocol_case) -- 2.7.4