diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-09 11:10:00 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-09 11:10:00 +0100 |
commit | 90c5766caf16e35cb871116a4655a106a3c272dc (patch) | |
tree | ddc2ea976240a3f8f9c3294b41492256e6eb3f82 /common/region.c | |
parent | 5cb99e12c6817592f49ca153a3081dd6b5995cf2 (diff) | |
download | spice-90c5766caf16e35cb871116a4655a106a3c272dc.tar.gz spice-90c5766caf16e35cb871116a4655a106a3c272dc.tar.xz spice-90c5766caf16e35cb871116a4655a106a3c272dc.zip |
Use macros from <spice/macros.h> rather than duplicate them
Diffstat (limited to 'common/region.c')
-rw-r--r-- | common/region.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/common/region.c b/common/region.c index 06b76d56..7edcb5a1 100644 --- a/common/region.c +++ b/common/region.c @@ -19,16 +19,11 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> +#include <spice/macros.h> #include "region.h" #include "rect.h" -#define FALSE 0 -#define TRUE 1 - -#define MIN(x, y) (((x) <= (y)) ? (x) : (y)) -#define MAX(x, y) (((x) >= (y)) ? (x) : (y)) - #define ASSERT(x) if (!(x)) { \ printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \ abort(); \ |