summaryrefslogtreecommitdiff
path: root/vcardt.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-08-26 18:48:17 +0300
committerAlon Levy <alevy@redhat.com>2010-08-26 18:48:17 +0300
commit4ba113302df1a6b8b4228b9d1524c10ac8f3cab7 (patch)
tree52aa000814ac88ff0a4ba3d4a6128764a5ca4d3b /vcardt.h
parent0dd6cdf43e972de0039bf49a602904f9be8b2ac4 (diff)
rename Event to VEvent (conflicts with spice's event)
Diffstat (limited to 'vcardt.h')
-rw-r--r--vcardt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcardt.h b/vcardt.h
index 2e8ffe7..44f41f8 100644
--- a/vcardt.h
+++ b/vcardt.h
@@ -3,13 +3,18 @@
*/
#ifndef VCARDT_H
#define VCARDT_H 1
+
/*
* these should come from some common spice header file
*/
#include <assert.h>
+#ifndef ASSERT
#define ASSERT assert
+#endif
+#ifndef MIN
#define MIN(x,y) ((x)>(y)?(y):(x))
#define MAX(x,y) ((x)>(y)?(x):(y))
+#endif
typedef struct VCardStruct VCard;
typedef struct VCardAPDUStruct VCardAPDU;