blob: 170b48f461e5649cad0404f44ca383d64ae4fb7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- spice/common/src/lib/fte/clip.c.orig Sat Jan 29 18:45:45 1994
+++ spice/common/src/lib/fte/clip.c Mon Dec 27 14:29:09 1999
@@ -14,6 +14,7 @@
#include "cpdefs.h"
#include "ftedefs.h"
#include "suffix.h"
+#include "util.h"
#define POLYGONBUFSIZE 512
/* XXX */
@@ -33,8 +34,10 @@
c |= CODEMAXY;
/* XXX */
+/*
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
+*/
#define SWAPINT(a, b) { int xxxx = (a); (a) = (b); (b) = xxxx; }
/* clip_line will clip a line to a rectangular area. The returned
|