mingw32 build: fix two functions

This commit is contained in:
Alon Levy 2010-12-06 18:01:14 +02:00
parent 4889f11190
commit abdf4ad91c

View File

@ -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);