Signed-off-by: fanwenjie fanwj@mail.ustc.edu.cn
On unixlib, macro WINAPI means nothing. In windef.h
``` #ifdef WINE_UNIX_LIB # define __stdcall # define __cdecl # define __fastcall #elif !defined(_MSC_VER) && !defined(__MINGW32__) ``` ``` extern void WINAPI DECLSPEC_NORETURN __wine_syscall_dispatcher_return( void *frame, ULONG_PTR retval ) DECLSPEC_HIDDEN; ```
equals ``` extern void __attribute__((sysv_abi)) DECLSPEC_NORETURN __wine_syscall_dispatcher_return( void *frame, ULONG_PTR retval ) DECLSPEC_HIDDEN; ```
But implementation of __wine_syscall_dispatcher_return is ms_abi on x86_64, the patch fixed it