summaryrefslogtreecommitdiff
path: root/src/cairo
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo')
-rw-r--r--src/cairo/cdcairoprn_win32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo/cdcairoprn_win32.c b/src/cairo/cdcairoprn_win32.c
index 9869d03..cbf4d66 100644
--- a/src/cairo/cdcairoprn_win32.c
+++ b/src/cairo/cdcairoprn_win32.c
@@ -16,6 +16,10 @@
#include "cairo-win32.h"
+#ifndef DC_COLORDEVICE
+#define DC_COLORDEVICE 32 /* declared only if WINVER 0x0500 */
+#endif
+
static void cdkillcanvas(cdCtxCanvas *ctxcanvas)
{
cairo_surface_t* surface = cairo_get_target(ctxcanvas->cr);