diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-19 11:08:16 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-20 11:05:44 +0300 |
commit | 0378df6254443907d0b273f5039d0e367c06756b (patch) | |
tree | 404b0b4d2668d5e649c970f06b1401ea84b18a68 /server | |
parent | a3cde2d971227ba2ca96de710993dc3c0b7b28df (diff) | |
download | spice-0378df6254443907d0b273f5039d0e367c06756b.tar.gz spice-0378df6254443907d0b273f5039d0e367c06756b.tar.xz spice-0378df6254443907d0b273f5039d0e367c06756b.zip |
server/tests: test_util.h: fix double ASSERT definition
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/test_util.h | 3 |
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(); \ |