From 68dbcd3bc5f5608368273fc7d0ef1d84fae653c0 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Fri, 13 Jan 2012 12:32:29 +0000 Subject: tests: don't redefine fail_unless_equals_int64() Fixes compiler warnings with recent GStreamer versions. --- tests/check/gnl/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check/gnl/common.h b/tests/check/gnl/common.h index f13b315..03ec691 100644 --- a/tests/check/gnl/common.h +++ b/tests/check/gnl/common.h @@ -1,6 +1,7 @@ #include +#ifndef fail_unless_equals_int64 #define fail_unless_equals_int64(a, b) \ G_STMT_START { \ gint64 first = a; \ @@ -9,6 +10,7 @@ G_STMT_START { \ "'" #a "' (%" G_GINT64_FORMAT ") is not equal to '" #b"' (%" \ G_GINT64_FORMAT ")", first, second); \ } G_STMT_END; +#endif #define check_start_stop_duration(object, startval, stopval, durval) \ G_STMT_START { guint64 start, stop; \ -- cgit v1.2.3