http://bugs.winehq.org/show_bug.cgi?id=2953
------- Additional Comments From hans@it.vu.nl 2007-03-02 10:18 ------- You are right, msvc and mingw align 64 bit types on 8 byte boundaries, plain gcc doesn't. This issue has came up before, and Alexandre fixed most basic types by adding a compiler attribute to their typedef:
typedef signed __int64 DECLSPEC_ALIGN(8) INT64, *PINT64;
See basetsd.h. The one he didn't fix is __int64. I don't know if that is on purpose or if __int64 should get the same treatment. If not we could use INT64 in the definition of _stati64.