[Pixman] [PATCH] Use windows.h directly for mingw32 build
mkbosmans at gmail.com
Sat Aug 28 21:40:23 PDT 2010
This patch adresses the issue discussed in
There were only two clashing identifiers. The first one is IN, which
obviously causes problems in Pixman for lines like
PIXMAN_STD_FAST_PATH (IN, solid, a8, a8, fast_composite_in_n_8_8),
Fortunately the mingw headers provide a solution: by defining
_NO_W32_PSEUDO_MODIFIERS, these stupid symbols are skipped.
The other name is UINT64, used in pixman-mmx.c. I renamed that
function to to_uint64, but may be another name is more appropriate. It
may also be good to rename the other function M64 to to_m64, but I
left that one alone for now.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5205 bytes
Desc: not available
More information about the Pixman