Use windows.h directly for mingw32 build
authorMaarten Bosmans <mkbosmans@gmail.com>
Sun, 29 Aug 2010 04:28:42 +0000 (06:28 +0200)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 30 Aug 2010 17:39:48 +0000 (13:39 -0400)
commit85964082618fc5350cafcd22b48ba1e02cbc4276
tree5b42da85a4a378021d4ca9ec7f5aa70525dcde8e
parent5b99710042e812d294f571ad6d86fb003a8071e3
Use windows.h directly for mingw32 build

This patch adresses the issue discussed in
http://lists.freedesktop.org/archives/pixman/2010-April/000163.html

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.
pixman/pixman-compiler.h
pixman/pixman-mmx.c