mingw32 build: fix two functions

This commit is contained in:
Alon Levy 2010-12-06 18:01:14 +02:00 committed by Marc-André Lureau
parent f4f40a3a30
commit f5bfbff82f

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