mingw32 build: fix two functions

This commit is contained in:
Alon Levy
2010-12-08 17:13:02 +02:00
parent 8bea5d6b5a
commit ff3fb423ed
2 changed files with 1 additions and 6 deletions
+1 -1
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);