Bug 9453

Summary: ETO_PDY not defined in MinGW
Product: cairo Reporter: Bob Jamison <rwjj>
Component: win32 backendAssignee: Owen Taylor <otaylor>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.3.9   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Temporarily define ETO_PDY in cairo-win32-surface.c
Fixed patch ignore previous

Description Bob Jamison 2006-12-26 09:47:33 UTC
Currently, ETO_PDY is not defined in MinGW's wingdi.h, making
cairo-win32-surface.c currently compilable.  Either removing ETO_PDY as an
option or defining it as 0x2000 would fix it.  This is a MinGW problem, and this
is merely a workaround.
Comment 1 Bob Jamison 2006-12-26 09:48:50 UTC
Created attachment 8223 [details] [review]
Temporarily define ETO_PDY in cairo-win32-surface.c
Comment 2 Bob Jamison 2006-12-26 09:54:16 UTC
Created attachment 8224 [details] [review]
Fixed patch ignore previous

I had too many 0's.  Should be 0x2000 not 0x20000
Comment 3 Erik van Pienbroek 2007-02-10 06:59:36 UTC
This problem is fixed in w32api 3.8 which is available from the mingw website, so this patch shouldn't be necessary anymore.
Comment 4 Bob Jamison 2007-02-10 07:41:04 UTC
Thanks!  Yes, I sent the patch to MinGW, too.  :-)

Comment 5 Adrian Johnson 2007-11-04 04:11:40 UTC
This is fixed in 1.4.10.

cairo-win32-surface.c now has an ETO_PDY definition.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.