19 lines
744 B
Text
19 lines
744 B
Text
|
http://bugs.netsurf-browser.org/mantis/view.php?id=2431
|
||
|
--- test/testutils/domtsasserts.h.orig Sun Feb 21 04:34:08 2016
|
||
|
+++ test/testutils/domtsasserts.h Sun Feb 21 04:34:06 2016
|
||
|
@@ -18,12 +18,12 @@
|
||
|
/* Redefine assert, so we can simply use the standard assert mechanism
|
||
|
* within testcases and exit with the right output for the testrunner
|
||
|
* to do the right thing. */
|
||
|
-void __assert2(const char *expr, const char *function,
|
||
|
+void dom_assert2(const char *expr, const char *function,
|
||
|
const char *file, int line);
|
||
|
|
||
|
#undef assert
|
||
|
#define assert(expr) \
|
||
|
- ((void) ((expr) || (__assert2 (#expr, __func__, __FILE__, __LINE__), 0)))
|
||
|
+ ((void) ((expr) || (dom_assert2 (#expr, __func__, __FILE__, __LINE__), 0)))
|
||
|
|
||
|
bool is_true(bool arg);
|
||
|
|