msvcp120: Fix tr2::sys::__Statvfs header for gcc

Piotr Caban piotr at codeweavers.com
Thu Oct 29 11:58:12 CDT 2015


__cdecl calling convention is not compatible between Visual C++ and
GCC when return is made in memory. In GCC  callee pops the hidden
argument while in Visual C++ it's done by caller.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
  dlls/msvcp110/msvcp110.spec         |  8 ++++----
  dlls/msvcp120/msvcp120.spec         |  8 ++++----
  dlls/msvcp120/tests/msvcp120.c      | 12 ++++++------
  dlls/msvcp120_app/msvcp120_app.spec |  8 ++++----
  dlls/msvcp90/ios.c                  | 28 ++++++++++++++--------------
  5 files changed, 32 insertions(+), 32 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcp120-Fix-tr2-sys-__Statvfs-header-for-gcc.txt
Type: text/x-patch
Size: 9897 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151029/27d5d9ac/attachment.bin>


More information about the wine-patches mailing list