[cairo-commit] src/cairo-win32-private.h

Carl Worth cworth at kemper.freedesktop.org
Wed Apr 26 14:35:38 PDT 2006


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

New commits:
diff-tree 74ec21b2a7f3435cb4f8ab152fdfb9381bb9eef6 (from e0a2e1fd14a53e646fb6b1a861fd9ca78aa6b603)
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)
    (cherry picked from d3ff5228a205ffb29e85907830d5fc72e2ef5358 commit)

diff --git a/src/cairo-win32-private.h b/src/cairo-win32-private.h
index fd66424..42fafe4 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