From f5bfbff82fcaed15a86d11f055eecd3f2671b73c Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 6 Dec 2010 18:01:14 +0200 Subject: [PATCH] mingw32 build: fix two functions --- common/canvas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/canvas_base.c b/common/canvas_base.c index 6d101f4..db83245 100644 --- a/common/canvas_base.c +++ b/common/canvas_base.c @@ -115,7 +115,7 @@ static inline uint32_t canvas_16bpp_to_32bpp(uint32_t color) return ret; } -#ifdef WIN32 +#if defined(WIN32) && defined(GDI_CANVAS) static HDC create_compatible_dc() { HDC dc = CreateCompatibleDC(NULL);