diff options
author | Silenio Quarti | 2012-10-17 15:46:55 +0000 |
---|---|---|
committer | Silenio Quarti | 2012-10-17 15:46:55 +0000 |
commit | 248b732f3c6ebb8e46d26db5933179a833868159 (patch) | |
tree | d1872ae861345640c1b4266b6b23b5d4abb5cb64 /bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library | |
parent | 57c0e797a17f6a1fdd2b2a079dc4b2435e2d55ee (diff) | |
download | eclipse.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.h | 7 |
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 |