diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-09 11:10:00 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:40 +0100 |
commit | 29b01c2c16b2522c1b8428b06bc3dfe7a379ad8a (patch) | |
tree | c86657d0225f1e62f854a1d35347b40abff93c05 /common/rect.h | |
parent | a64e487d78d48fd1e5f142970b9e431a81b7321d (diff) | |
download | spice-common-29b01c2c16b2522c1b8428b06bc3dfe7a379ad8a.tar.gz spice-common-29b01c2c16b2522c1b8428b06bc3dfe7a379ad8a.tar.xz spice-common-29b01c2c16b2522c1b8428b06bc3dfe7a379ad8a.zip |
Use macros from <spice/macros.h> rather than duplicate them
Diffstat (limited to 'common/rect.h')
-rw-r--r-- | common/rect.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/rect.h b/common/rect.h index 43e7f21..1627be6 100644 --- a/common/rect.h +++ b/common/rect.h @@ -20,9 +20,7 @@ #define _H_RECT #include <spice/draw.h> - -#define MIN(x, y) (((x) <= (y)) ? (x) : (y)) -#define MAX(x, y) (((x) >= (y)) ? (x) : (y)) +#include <spice/macros.h> static inline void rect_sect(SpiceRect* r, const SpiceRect* bounds) { |