Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2012-10-17 15:46:55 +0000
committerSilenio Quarti2012-10-17 15:46:55 +0000
commit248b732f3c6ebb8e46d26db5933179a833868159 (patch)
treed1872ae861345640c1b4266b6b23b5d4abb5cb64 /bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library
parent57c0e797a17f6a1fdd2b2a079dc4b2435e2d55ee (diff)
downloadeclipse.platform.swt-248b732f3c6ebb8e46d26db5933179a833868159.tar.gz
eclipse.platform.swt-248b732f3c6ebb8e46d26db5933179a833868159.tar.xz
eclipse.platform.swt-248b732f3c6ebb8e46d26db5933179a833868159.zip
compile on older versions of cairo - cairo_rectangle_int_t is missing
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_custom.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_custom.h b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_custom.h
index 4415a1f365..7faf5f29f5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_custom.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo_custom.h
@@ -56,3 +56,10 @@
#define cairo_region_contains_point_LIB LIB_CAIRO
#define cairo_region_num_rectangles_LIB LIB_CAIRO
#define cairo_region_get_rectangle_LIB LIB_CAIRO
+
+#if (CAIRO_VERSION < CAIRO_VERSION_ENCODE(1,10,0))
+typedef struct {
+ int x, y;
+ int width, height;
+} cairo_rectangle_int_t;
+#endif \ No newline at end of file

Back to the top