SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
|||
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);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue