[cairo-commit] Branch '1.0' - src/cairo-win32-private.h

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Mar 15 11:06:27 PST 2006


 src/cairo-win32-private.h |    8 ++++++++
 1 files changed, 8 insertions(+)

New commits:
diff-tree d3ff5228a205ffb29e85907830d5fc72e2ef5358 (from b3886d1968fdffb52a805952790ef25391be3e99)
Author: Behdad Esfahbod <behdad at home.(none)>
Date:   Wed Mar 15 14:02:14 2006 -0500

    WIN32: Define SHADEBLENDCAPS and SB_NONE if they are not defined. (from Tor Lillqvist)

diff --git a/src/cairo-win32-private.h b/src/cairo-win32-private.h
index b3143c9..5789461 100644
--- a/src/cairo-win32-private.h
+++ b/src/cairo-win32-private.h
@@ -39,6 +39,14 @@
 #include <cairo-win32.h>
 #include <cairoint.h>
 
+#ifndef SHADEBLENDCAPS
+#define SHADEBLENDCAPS 120
+#endif
+#ifndef SB_NONE
+#define SB_NONE 0
+#endif
+
+
 typedef struct _cairo_win32_surface {
     cairo_surface_t base;
 


More information about the cairo-commit mailing list