[cairo-commit] src/cairo-win32-printing-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Fri Jan 18 03:23:13 PST 2008


 src/cairo-win32-printing-surface.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit eabd28a655f8ddc73ff71583bb658db796e932cd
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Fri Jan 18 21:53:04 2008 +1030

    win32-printing: define GRADIENT_FILL_RECT_H  bug #14107
    
    Older versions of mingw do not define this.

diff --git a/src/cairo-win32-printing-surface.c b/src/cairo-win32-printing-surface.c
index d589f23..ee08d4a 100644
--- a/src/cairo-win32-printing-surface.c
+++ b/src/cairo-win32-printing-surface.c
@@ -70,6 +70,10 @@
 # define FEATURESETTING_PSLEVEL 0x0002
 #endif
 
+#if !defined(GRADIENT_FILL_RECT_H)
+# define GRADIENT_FILL_RECT_H 0x00
+#endif
+
 #define PELS_72DPI  ((LONG)(72. / 0.0254))
 
 static const cairo_surface_backend_t cairo_win32_printing_surface_backend;


More information about the cairo-commit mailing list