[Spice-commits] server/tests
Alon Levy
alon at kemper.freedesktop.org
Wed Jul 20 01:06:17 PDT 2011
server/tests/test_util.h | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 0378df6254443907d0b273f5039d0e367c06756b
Author: Alon Levy <alevy at redhat.com>
Date: Tue Jul 19 11:08:16 2011 +0300
server/tests: test_util.h: fix double ASSERT definition
diff --git a/server/tests/test_util.h b/server/tests/test_util.h
index ac1442d..9844426 100644
--- a/server/tests/test_util.h
+++ b/server/tests/test_util.h
@@ -4,6 +4,9 @@
#define TRUE 1
#define FALSE 0
+#ifdef ASSERT
+#undef ASSERT
+#endif
#define ASSERT(x) if (!(x)) { \
printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \
abort(); \
More information about the Spice-commits
mailing list