[0.11] gstreamer: libcheck: make the definition of fail not fail with non GCC compilers

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 25 02:43:33 PST 2012


Module: gstreamer
Branch: 0.11
Commit: 28d5e8150369efb477a25a4e701e62281fbecebc
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=28d5e8150369efb477a25a4e701e62281fbecebc

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Fri Jan 20 18:06:04 2012 +0000

libcheck: make the definition of fail not fail with non GCC compilers

---

 libs/gst/check/libcheck/check.h.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libs/gst/check/libcheck/check.h.in b/libs/gst/check/libcheck/check.h.in
index 231fdbb..3ed1acd 100644
--- a/libs/gst/check/libcheck/check.h.in
+++ b/libs/gst/check/libcheck/check.h.in
@@ -232,7 +232,7 @@ static void __testname (int _i CK_ATTRIBUTE_UNUSED)\
         "Failure '"#expr"' occured" , ## __VA_ARGS__, NULL)
 
 /* Always fail */
-#define fail(...) _fail_unless(0, __FILE__, __LINE__, "Failed" , ## __VA_ARGS__, NULL)
+#define fail(...) _fail_unless(0, __FILE__, __LINE__, "Failed"  __VA_ARGS__, NULL)
 
 /* Non macro version of #fail_unless, with more complicated interface */
 void CK_EXPORT _fail_unless (int result, const char *file,



More information about the gstreamer-commits mailing list