diff options
author | Alon Levy <alevy@redhat.com> | 2010-12-06 18:01:14 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-12-08 17:13:02 +0200 |
commit | ff3fb423ed1e60dc5124e1211613c56555b6cdce (patch) | |
tree | fb37c93560e17392575382009aa55bd6d6f56d25 /common | |
parent | 8bea5d6b5a8ce4fa11363ced501f7607ad12b8ba (diff) | |
download | spice-ff3fb423ed1e60dc5124e1211613c56555b6cdce.tar.gz spice-ff3fb423ed1e60dc5124e1211613c56555b6cdce.tar.xz spice-ff3fb423ed1e60dc5124e1211613c56555b6cdce.zip |
mingw32 build: fix two functions
Diffstat (limited to 'common')
-rw-r--r-- | common/canvas_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/canvas_base.c b/common/canvas_base.c index 6d101f49..db832459 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); |