diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-01-13 12:32:29 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-01-13 12:32:29 +0000 |
commit | 68dbcd3bc5f5608368273fc7d0ef1d84fae653c0 (patch) | |
tree | 270f9271cc8118d64243e84ca281c5f4a7bf6962 | |
parent | 3fe47d77f1a167effe92096f7d6b6e099ea707dd (diff) |
tests: don't redefine fail_unless_equals_int64()
Fixes compiler warnings with recent GStreamer versions.
-rw-r--r-- | 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; \ |