summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2015-07-18 16:45:30 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2015-07-18 16:45:45 (GMT)
commit2ab63a787e65742bd2ddd65633cefed51a2607a7 (patch)
treed8e8ba1d643256e0f868b9b4c24f5437ac498ce1
parent884502f39d98b556bce0c3af66ac82f33b2cff82 (diff)
downloadlibcss-2ab63a787e65742bd2ddd65633cefed51a2607a7.tar.gz
libcss-2ab63a787e65742bd2ddd65633cefed51a2607a7.tar.bz2
Testutils: undef assert before use
-rw-r--r--test/testutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testutils.h b/test/testutils.h
index 1a13e5b..70d803d 100644
--- a/test/testutils.h
+++ b/test/testutils.h
@@ -28,6 +28,7 @@ void __assert2(const char *expr, const char *function,
exit(EXIT_FAILURE);
}
+#undef assert
#define assert(expr) \
((void) ((expr) || (__assert2 (#expr, __func__, __FILE__, __LINE__), 0)))