PortabilityFixes
64-bit
Fix Wine to be compilable by a 64-bit compiler:
- Inspect and fix all public Win32 headers to match PSDK definitions.
- Make sure that pointers do not get truncated.
Endianess
Fix wrong assumptions in Wine about endianess
- Inspect all Wine code and public headers to eliminate endianess dependent constructs (low/high parts of a field, bit fields), add WORDS_BIGENDIAN when appropriate.
- Make sure that Wine code handles data in an endianess independent way.
Header
We have at least two other Win32 headers available: MSVC, and MinGW (w32api). In a perfect world, we should be able to build Wine using either of them. This will be a very effective way of discovering problems in our own headers, as the compiler will signal mismatches in function signatures, etc.
