gnonlin: tests: don't redefine fail_unless_equals_int64()

Tim Müller tpm at kemper.freedesktop.org
Fri Jan 13 04:33:22 PST 2012


Module: gnonlin
Branch: master
Commit: 68dbcd3bc5f5608368273fc7d0ef1d84fae653c0
URL:    http://cgit.freedesktop.org/gstreamer/gnonlin/commit/?id=68dbcd3bc5f5608368273fc7d0ef1d84fae653c0

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Fri Jan 13 12:32:29 2012 +0000

tests: don't redefine fail_unless_equals_int64()

Fixes compiler warnings with recent GStreamer versions.

---

 tests/check/gnl/common.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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 <gst/check/gstcheck.h>
 
+#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;					\



More information about the gstreamer-commits mailing list