summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-07-19 11:08:16 +0300
committerAlon Levy <alevy@redhat.com>2011-07-20 11:05:44 +0300
commit0378df6254443907d0b273f5039d0e367c06756b (patch)
tree404b0b4d2668d5e649c970f06b1401ea84b18a68
parenta3cde2d971227ba2ca96de710993dc3c0b7b28df (diff)
downloadspice-0378df6254443907d0b273f5039d0e367c06756b.tar.gz
spice-0378df6254443907d0b273f5039d0e367c06756b.tar.xz
spice-0378df6254443907d0b273f5039d0e367c06756b.zip
server/tests: test_util.h: fix double ASSERT definition
-rw-r--r--server/tests/test_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tests/test_util.h b/server/tests/test_util.h
index ac1442dd..98444268 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(); \