diff options
author | scuri <scuri> | 2010-06-25 04:49:54 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-25 04:49:54 +0000 |
commit | c7d2f1f2178be7a4fdbbd49761dff12181d6db78 (patch) | |
tree | 2e96caafbccc65b1fe89a0b01999eced00276e74 /src | |
parent | b880f13768528657cb392f6894bf626f16590e64 (diff) |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo/cdcairoprn_win32.c | 4 | ||||
-rw-r--r-- | src/cd.def | 3 | ||||
-rw-r--r-- | src/cdcontextplus.mak | 1 | ||||
-rw-r--r-- | src/cdluacontextplus5.mak | 5 |
4 files changed, 10 insertions, 3 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); @@ -395,6 +395,7 @@ EXPORTS cdCanvasTransformPoint cdfCanvasTransformPoint cdRound - + cdStrDup + cdInitContextPlusList cdGetContextPlus diff --git a/src/cdcontextplus.mak b/src/cdcontextplus.mak index 69aca36..9a49404 100644 --- a/src/cdcontextplus.mak +++ b/src/cdcontextplus.mak @@ -11,6 +11,7 @@ ifneq ($(findstring Win, $(TEC_SYSNAME)), ) INCLUDES = . gdiplus drv LIBS = gdiplus + CHECK_GDIPLUS = Yes else SRC = xrender/cdxrender.c xrender/cdxrplus.c diff --git a/src/cdluacontextplus5.mak b/src/cdluacontextplus5.mak index 16b7876..fb9fa11 100644 --- a/src/cdluacontextplus5.mak +++ b/src/cdluacontextplus5.mak @@ -8,8 +8,9 @@ SRCDIR = lua5 SRC = cdluacontextplus5.c DEF_FILE = cdluacontextplus5.def -ifeq ($(findstring Win, $(TEC_SYSNAME)), ) - # Check for XRender availability if NOT Windows +ifneq ($(findstring Win, $(TEC_SYSNAME)), ) + CHECK_GDIPLUS = Yes +else CHECK_XRENDER = Yes endif |