summaryrefslogtreecommitdiff
path: root/base/rect.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-10-05 11:05:26 +0200
committerTor Andersson <tor@ghostscript.com>2004-10-05 11:05:26 +0200
commit7edeed5a4fae0199a65dc724c2c131d4d120bf28 (patch)
treec27e90705a7c083643913a82a4deb2d74b385e57 /base/rect.c
parent98e44466052e654c6b34a685fe7dbc433632aecc (diff)
downloadmupdf-7edeed5a4fae0199a65dc724c2c131d4d120bf28.tar.xz
strip out c99-isms for msvc
Diffstat (limited to 'base/rect.c')
-rw-r--r--base/rect.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/base/rect.c b/base/rect.c
index cb15d434..cc8d0a76 100644
--- a/base/rect.c
+++ b/base/rect.c
@@ -1,6 +1,17 @@
#include <fitz.h>
fz_rect
+fz_infiniterect(void)
+{
+ fz_rect r;
+ r.min.x = 1;
+ r.min.y = 1;
+ r.max.x = -1;
+ r.max.y = -1;
+ return r;
+}
+
+fz_rect
fz_intersectrects(fz_rect a, fz_rect b)
{
fz_rect r;