mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
libcheck: make the definition of fail not fail with non GCC compilers
This commit is contained in:
parent
8accd77659
commit
28d5e81503
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue