freebsd-ports/graphics/cairo/files/patch-src_cairoint.h
Joe Marcus Clarke 80be3e0951 Fix the build on 4.X.
Submitted by:	shaun
Approved by:	portmgr (implicit)
2006-10-15 19:17:04 +00:00

14 lines
292 B
C

--- src/cairoint.h.orig Sun Oct 15 18:02:35 2006
+++ src/cairoint.h Sun Oct 15 18:10:11 2006
@@ -50,6 +50,11 @@
#include "config.h"
#endif
+#ifndef INT16_MAX
+#define INT16_MAX 0x7fff
+#define INT16_MIN (-0x7fff-1)
+#endif
+
#include <assert.h>
#include <stdlib.h>
#include <string.h>