Bug 9453 - ETO_PDY not defined in MinGW
Summary: ETO_PDY not defined in MinGW
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: win32 backend (show other bugs)
Version: 1.3.9
Hardware: x86 (IA32) Windows (All)
: high normal
Assignee: Owen Taylor
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-26 09:47 UTC by Bob Jamison
Modified: 2007-11-04 04:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Temporarily define ETO_PDY in cairo-win32-surface.c (421 bytes, patch)
2006-12-26 09:48 UTC, Bob Jamison
Details | Splinter Review
Fixed patch ignore previous (420 bytes, patch)
2006-12-26 09:54 UTC, Bob Jamison
Details | Splinter Review

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.